2020-04-03 14:31:20 +02:00
|
|
|
pipeline {
|
|
|
|
agent { dockerfile true }
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Prepare environment') {
|
|
|
|
steps {
|
|
|
|
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
|
|
|
|
copyArtifacts filter: 'srr.txt, wer.txt', fingerprintArtifacts: true, optional: true, projectName: 's416178-metrics', target: './'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Draw and save plots') {
|
|
|
|
steps {
|
|
|
|
sh('chmod +x ./draw_plots.sh')
|
2020-04-03 14:56:41 +02:00
|
|
|
sh('./draw_plots.sh wer srr')
|
2020-04-03 14:31:20 +02:00
|
|
|
archiveArtifacts 'wer.png'
|
|
|
|
archiveArtifacts 'srr.png'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|