count lines of file

This commit is contained in:
s407323 2019-04-26 12:20:02 +02:00
parent 703e8cdbc4
commit ea31286068
2 changed files with 5 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -19,6 +19,10 @@ pipeline {
} }
echo 'Sklonowanie repozytorium git' echo 'Sklonowanie repozytorium git'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]])
echo 'Wywołanie skryptu shella'
sh './script.sh'
echo 'Zarchiwizowanie wyniku'
archiveArtifacts 'output.txt'
} }
} }
} }

1
script.sh Normal file
View File

@ -0,0 +1 @@
wc -l wikiniews_results.tsv > output.txt