s416178-mlworkshops/Jenkinsfile
2020-04-03 14:31:20 +02:00

29 lines
959 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Prepare environment') {
steps {
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
copyArtifacts filter: 'srr.txt, wer.txt', fingerprintArtifacts: true, optional: true, projectName: 's416178-metrics', target: './'
}
}
stage('Run script and save results') {
steps {
sh('chmod +x ./shell_script.sh')
sh('./shell_script.sh wikiniews_results.tsv')
archiveArtifacts 'result.log'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
archiveArtifacts 'wikiniews_results_wer.tsv'
}
}
stage('Draw plots'){
steps{
build 's416178-plots'
}
}
}
}