21 lines
589 B
Plaintext
21 lines
589 B
Plaintext
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')
|
|
sh('./draw_plots.sh wer.txt srr.txt')
|
|
archiveArtifacts 'wer.png'
|
|
archiveArtifacts 'srr.png'
|
|
}
|
|
}
|
|
}
|
|
}
|