30 lines
961 B
Plaintext
30 lines
961 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/s452108/s452108-mlworkshops']]])
|
||
|
}
|
||
|
}
|
||
|
stage('Copy Artifacts') {
|
||
|
steps {
|
||
|
copyArtifacts filter: 'averagesrr.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
||
|
copyArtifacts filter: 'averagewer.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
||
|
}
|
||
|
}
|
||
|
stage('Plot') {
|
||
|
steps {
|
||
|
sh label: '', script: 'python3 plotwer.py'
|
||
|
sh label: '', script: 'python3 plotsrr.py'
|
||
|
}
|
||
|
}
|
||
|
stage('Archive atifacts') {
|
||
|
steps {
|
||
|
archiveArtifacts 'plotwer.png'
|
||
|
archiveArtifacts 'plotsrr.png'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|