26 lines
639 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|