This commit is contained in:
Ufnow 2020-04-21 20:01:41 +02:00
parent 6cb28dd472
commit 208f3bc9f4
2 changed files with 3 additions and 9 deletions

11
Jenkinsfile vendored
View File

@ -10,19 +10,14 @@ pipeline {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
filter: "wikiniews_results.tsv",
selector: lastSuccessful(),
fingerprintArtifacts: true,
target: 'wikiniews_results.tsv']);
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 's426274-metrics', selector: lastSuccessful()
}
}
}
stage('Count lines'){
steps {
sh('chmod +x ./script.sh')
sh('./script.sh')
sh label: 'metrics', script: './script.sh'
}
}
}

View File

@ -1,2 +1 @@
#!/bin/bash
wc -l wikiniews_results.tsv > numberOfLines.txt