28 lines
838 B
Plaintext
28 lines
838 B
Plaintext
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{
|
|
sh('chmod +x plots.py')
|
|
sh('python3 plots.py')
|
|
}
|
|
}
|
|
stage('Archive artifacts') {
|
|
steps{
|
|
archiveArtifacts 'plots.png'
|
|
}
|
|
}
|
|
}
|
|
} |