23 lines
509 B
Groovy
23 lines
509 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Copy artifacts') {
|
|
steps {
|
|
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's452094-metrics', selector: lastSuccessful()
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's452094-metrics', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Generate plot') {
|
|
steps {
|
|
sh label: '', script: 'python plot.py'
|
|
}
|
|
}
|
|
stage('Archive') {
|
|
steps {
|
|
archiveArtifacts 'plot.png'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|