2021-03-28 21:08:08 +02:00
|
|
|
pipeline {
|
2021-04-11 19:58:18 +02:00
|
|
|
agent {
|
|
|
|
docker {image 's434732/ium' }
|
|
|
|
}
|
2021-03-28 21:08:08 +02:00
|
|
|
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')
|
|
|
|
|
2021-04-11 19:55:36 +02:00
|
|
|
sh 'python3 "./skrypt_stat.py" > stats.txt'
|
2021-03-28 21:08:08 +02:00
|
|
|
|
|
|
|
archiveArtifacts "stats.txt"
|
2021-04-11 19:56:49 +02:00
|
|
|
|
2021-03-28 21:08:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|