s426274-mlworkshops/JenkinsfilePlots
2020-04-22 01:13:06 +02:00

36 lines
1012 B
Plaintext

pipeline {
agent { dockerfile true }
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 'Wojciech Ufnowski-metrics', selector: lastSuccessful(), target: './'
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 'Wojciech Ufnowski-metrics', selector: lastSuccessful(), target: './'
}
}
stage('Plots')
{
steps {
sh label: '', script: 'chmod a+rwx wykres.py'
sh label: '', script: 'python3 wykres.py'
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
stage('ArchiveArtifacts')
{
steps {
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}