s416138-plots/Jenkinsfile

23 lines
620 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Copy results'){
steps {
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's416138-metrics', selector: lastSuccessful()
}
}
stage('Generate and archive plots'){
steps {
sh label: '', script: './generate_plot.sh'
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
stage('Clean Workspace'){
steps{
cleanWs()
}
}
}
}