s416296-plots/Jenkinsfile
2020-04-19 21:45:53 +02:00

18 lines
797 B
Groovy

pipeline {
agent { dockerfile true }
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']]])
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's416296-metrics', selector: lastSuccessful()
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's416296-metrics', selector: lastSuccessful()
sh label: '', script: 'chmod a+rwx script.py'
sh label: '', script: 'python3 script.py'
archiveArtifacts 'wer.png'
archiveArtifacts 'srr.png'
}
}
}
}