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

15
Jenkinsfile vendored
View File

@ -13,9 +13,22 @@ pipeline {
step ([$class: 'CopyArtifact', step ([$class: 'CopyArtifact',
projectName: 'ASR-eval', projectName: 'ASR-eval',
filter: "wikiniews_results.tsv", filter: "wikiniews_results.tsv",
target: 'wikiniews_results.tsv ']); target: 'wikiniews_results.tsv']);
} }
} }
} }
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