s416178-mlworkshops/Jenkinsfile
2020-04-03 13:49:43 +02:00

23 lines
806 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'
}
}
}
}