This commit is contained in:
Ufnow 2020-04-21 19:51:02 +02:00
parent 21e344124b
commit 1a79602413

21
Jenkinsfile vendored
View File

@ -7,16 +7,23 @@ pipeline {
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git' url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
} }
} }
stage('Copy artifacts'){ stage('Copy Archive') {
steps { steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() script {
} step ([$class: 'CopyArtifact',
} projectName: 'ASR-eval',
stage('Count lines and metrics'){ filter: "wikiniews_results.tsv",
selector: lastSuccessful(),
fingerprintArtifacts: true,
target: 'wikiniews_results.tsv']);
}
}
}
stage('Count lines'){
steps { steps {
sh('chmod +x ./script.sh') sh('chmod +x ./script.sh')
sh('./script.sh') sh('./script.sh')
} }
} }
} }
} }