s426086-plots/Jenkinsfile

28 lines
855 B
Plaintext
Raw Normal View History

2020-04-23 08:53:05 +02:00
pipeline {
agent { dockerfile true }
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426086/s426086-plots'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
}
}
stage('plots') {
steps {
sh 'chmod a+rwx plot.py'
sh 'python3 plot.py'
}
}
stage('archiveArtifacts') {
steps {
2020-04-23 08:55:16 +02:00
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
2020-04-23 08:53:05 +02:00
}
}
}
}