s426266-mlworkshops/Jenkinsfile-plots

28 lines
838 B
Plaintext
Raw Normal View History

2020-04-23 11:45:35 +02:00
pipeline {
agent { dockerfile true }
stages {
stage('Checkout') {
steps {
git 'https://git.wmi.amu.edu.pl/s426266/s426266-mlworkshops'
}
}
stage('Copy artifacts') {
steps {
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's426266-metrics', selector: lastSuccessful()
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's426266-metrics', selector: lastSuccessful()
}
}
stage('Make plots') {
steps{
2020-04-23 11:55:53 +02:00
sh('chmod +x plots.py')
sh('python3 plots.py')
2020-04-23 11:45:35 +02:00
}
}
stage('Archive artifacts') {
steps{
archiveArtifacts 'plots.png'
}
}
}
}