s452097-plots/Jenkinsfile

30 lines
718 B
Plaintext
Raw Normal View History

2020-04-03 19:12:13 +02:00
pipeline {
agent {
dockerfile true
}
stages {
2020-04-03 19:24:00 +02:00
stage('Checkout') {
steps {
2020-04-03 19:28:08 +02:00
git 'https://git.wmi.amu.edu.pl/s452097/s452097-plots'
2020-04-03 19:24:00 +02:00
}
}
2020-04-03 19:39:11 +02:00
2020-04-03 19:12:13 +02:00
stage('Copy all results'){
steps {
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's452097-metrics', selector: lastSuccessful()
}
}
2020-04-03 19:39:11 +02:00
2020-04-03 19:12:13 +02:00
stage('Create plots'){
steps {
2020-04-03 19:28:08 +02:00
sh('chmod +x ./plotGenerator.sh')
sh label: 'count', script: './plotGenerator.sh'
2020-04-03 19:12:13 +02:00
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}