s452097-plots/Jenkinsfile
alicja.m.musial d809e1c010 plot 1
2020-04-03 19:12:13 +02:00

26 lines
639 B
Groovy

pipeline {
agent {
dockerfile true
}
stages {
stage('Copy all results'){
steps {
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's452097-metrics', selector: lastSuccessful()
}
}
stage('Create plots'){
step {
sh('chmod +x ./plotGenerator.sh')
sh label: 'count', script: './plotGenerator.sh'
}
}
stage('Archive plots'){
steps {
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}