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') { stage('Copy Archive') {
steps { steps {
script { script {
step ([$class: 'CopyArtifact', copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
projectName: 'ASR-eval', copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 's426274-metrics', selector: lastSuccessful()
filter: "wikiniews_results.tsv",
selector: lastSuccessful(),
fingerprintArtifacts: true,
target: 'wikiniews_results.tsv']);
} }
} }
} }
stage('Count lines'){ stage('Count lines'){
steps { steps {
sh('chmod +x ./script.sh') sh label: 'metrics', script: './script.sh'
sh('./script.sh')
} }
} }
} }

View File

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