Jenkinsfile update

This commit is contained in:
Damian Michalski 2020-04-03 20:52:36 +02:00
parent 92a900376f
commit 331b296df0

26
Jenkinsfile vendored
View File

@ -1,16 +1,22 @@
pipeline {
agent { dockerfile true }
stages {
stage('Generate plot') {
steps {
sh label: '', script: 'python plot.py'
}
}
stage('Archive') {
steps {
archiveArtifacts 'plot.png'
}
}
stage('Copy artifacts') {
steps {
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Generate plot') {
steps {
sh label: '', script: 'python plot.py'
}
}
stage('Archive') {
steps {
archiveArtifacts 'plot.png'
}
}
}
}