2020-04-03 10:47:06 +02:00
|
|
|
pipeline {
|
2020-04-03 11:46:29 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-03 10:47:06 +02:00
|
|
|
|
|
|
|
stages {
|
2020-04-03 11:57:33 +02:00
|
|
|
stage('Prepare environment') {
|
2020-04-03 10:47:06 +02:00
|
|
|
steps {
|
2020-04-03 11:31:21 +02:00
|
|
|
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
|
2020-04-03 11:33:43 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
2020-04-03 13:49:43 +02:00
|
|
|
copyArtifacts filter: 'srr.txt, wer.txt', fingerprintArtifacts: true, optional: true, projectName: 's416178-metrics', target: './'
|
2020-04-03 11:31:21 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-03 11:57:33 +02:00
|
|
|
stage('Run script and save results') {
|
2020-04-03 11:31:21 +02:00
|
|
|
steps {
|
2020-04-03 11:38:55 +02:00
|
|
|
sh('chmod +x ./shell_script.sh')
|
2020-04-03 13:18:44 +02:00
|
|
|
sh('./shell_script.sh wikiniews_results.tsv')
|
2020-04-03 11:38:08 +02:00
|
|
|
archiveArtifacts 'result.log'
|
2020-04-03 13:18:44 +02:00
|
|
|
archiveArtifacts 'wer.txt'
|
|
|
|
archiveArtifacts 'srr.txt'
|
2020-04-03 14:06:51 +02:00
|
|
|
archiveArtifacts 'wikiniews_results_wer.tsv'
|
2020-04-03 10:47:06 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-03 14:31:20 +02:00
|
|
|
stage('Draw plots'){
|
|
|
|
steps{
|
|
|
|
build 's416178-plots'
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 10:47:06 +02:00
|
|
|
}
|
|
|
|
}
|