s416226-plots/Jenkinsfile

23 lines
451 B
Groovy

pipeline {
agent {dockerfile true}
stages {
stage('Copy artifacts'){
steps {
copyArtifacts filter: filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's416226-metrics', selector: lastSuccessful()
}
}
stage('Plot'){
steps {
sh('chmod +x ./plot.sh')
sh('./plot.sh')
}
}
stage('Save results'){
steps {
archiveArtifacts 'srr.png'
archiveArtifacts 'wer.png'
}
}
}
}