s416267-mlworkshops/JenkinsfilePlots

20 lines
508 B
Plaintext
Raw Normal View History

2020-04-03 16:37:11 +02:00
pipeline {
agent { dockerfile true }
stages {
stage('Hello') {
steps {
2020-04-03 16:40:46 +02:00
git 'https://git.wmi.amu.edu.pl/s416267/s416267-mlworkshops'
copyArtifacts filter: 'srr.txt, wer.txt', fingerprintArtifacts: true, optional: true, projectName: 's416267-metrics', target: './'
}
2020-04-03 16:37:11 +02:00
}
2020-04-03 16:40:46 +02:00
stage('Wykresy') {
2020-04-03 16:52:03 +02:00
steps{
2020-04-03 16:40:46 +02:00
sh('chmod +x ./plots.sh')
2020-04-03 16:53:46 +02:00
sh('./plots.sh wer srr')
2020-04-03 16:40:46 +02:00
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
2020-04-03 16:37:11 +02:00
}
}