script count lines

This commit is contained in:
Ufnow 2020-04-21 19:04:45 +02:00
parent 7919c3350b
commit 5714683ce0
2 changed files with 15 additions and 1 deletions

13
Jenkinsfile vendored
View File

@ -17,5 +17,18 @@ pipeline {
} }
} }
} }
stage('checkout: Check out from version control') {
steps {
git branch: 'master',
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
}
}
stage('Count lines'){
steps {
sh('chmod +x ./numberOfLines.sh')
sh('./numberOfLines.sh')
}
}
} }
} }

1
countLines.sh Normal file
View File

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