2020-04-19 20:41:51 +02:00
|
|
|
pipeline {
|
2020-04-19 21:09:00 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-19 20:41:51 +02:00
|
|
|
stages {
|
|
|
|
stage('Stage 1') {
|
|
|
|
steps {
|
|
|
|
echo 'Hello world!'
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416296/s416296-plots.git']]])
|
2020-04-19 20:56:57 +02:00
|
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's416296-metrics', selector: lastSuccessful()
|
|
|
|
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's416296-metrics', selector: lastSuccessful()
|
2020-04-19 21:09:00 +02:00
|
|
|
sh label: '', script: 'chmod a+rwx script.py'
|
2020-04-19 21:45:53 +02:00
|
|
|
sh label: '', script: 'python3 script.py'
|
2020-04-19 21:26:28 +02:00
|
|
|
archiveArtifacts 'wer.png'
|
|
|
|
archiveArtifacts 'srr.png'
|
2020-04-19 20:41:51 +02:00
|
|
|
}
|
2020-04-19 21:09:00 +02:00
|
|
|
|
2020-04-19 20:41:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|