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