ium_434732/Jenkinsfile2
2021-04-11 19:58:18 +02:00

20 lines
566 B
Plaintext

pipeline {
agent {
docker {image 's434732/ium' }
}
parameters {
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
}
stages {
stage("One"){
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434732-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'python3 "./skrypt_stat.py" > stats.txt'
archiveArtifacts "stats.txt"
}
}
}
}