Dodaj 'Jenkinsfile'

This commit is contained in:
Jędrzej Furmann 2020-04-03 15:13:17 +00:00
parent 6364db4745
commit f1b09f1cd7

23
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,23 @@
pipeline {
agent {dockerfile true}
stages {
stage('Copy artifacts'){
steps {
copyArtifacts filter: filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's416226-metrics', selector: lastSuccessful()
}
}
stage('Plot'){
steps {
sh('chmod +x ./plot.sh')
sh('./plot.sh')
}
}
stage('Save results'){
steps {
archiveArtifacts 'srr.png'
archiveArtifacts 'wer.png'
}
}
}
}