s452097-plots/Jenkinsfile
alicja.m.musial a384cd4a2a plot 4
2020-04-03 19:39:11 +02:00

30 lines
718 B
Groovy

pipeline {
agent {
dockerfile true
}
stages {
stage('Checkout') {
steps {
git 'https://git.wmi.amu.edu.pl/s452097/s452097-plots'
}
}
stage('Copy all results'){
steps {
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's452097-metrics', selector: lastSuccessful()
}
}
stage('Create plots'){
steps {
sh('chmod +x ./plotGenerator.sh')
sh label: 'count', script: './plotGenerator.sh'
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}