29 lines
952 B
Plaintext
29 lines
952 B
Plaintext
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Cloning GIT') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452111/s452111-mlworkshops']]])
|
|
}
|
|
}
|
|
stage('Copy Artifacts') {
|
|
steps {
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's452111-metrics', selector: lastSuccessful()
|
|
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's452111-metrics', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Plot') {
|
|
steps {
|
|
sh 'python draw_plot_wer.py'
|
|
sh 'python draw_plot_srr.py'
|
|
}
|
|
}
|
|
stage('Archive atifacts') {
|
|
steps {
|
|
archiveArtifacts 'wer_over_several_builds.png'
|
|
archiveArtifacts 'srr_over_several_builds.png'
|
|
}
|
|
}
|
|
}
|
|
}
|