2022-03-27 12:28:44 +02:00
|
|
|
pipeline{
|
2022-04-03 14:48:04 +02:00
|
|
|
agent {
|
2022-04-03 15:29:11 +02:00
|
|
|
docker { image 'ium' }
|
2022-04-03 14:48:04 +02:00
|
|
|
}
|
2022-03-27 12:28:44 +02:00
|
|
|
parameters {
|
|
|
|
buildSelector(
|
|
|
|
defaultSelector: lastSuccessful(),
|
|
|
|
description: 'Which build to use for copying artifacts',
|
|
|
|
name: 'BUILD_SELECTOR')
|
|
|
|
}
|
|
|
|
stages{
|
|
|
|
stage('copy artefacts') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
|
2022-04-03 14:48:04 +02:00
|
|
|
sh 'chmod u+x ./kagle.py'
|
|
|
|
sh 'python3 kagle.py'
|
2022-03-27 12:28:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-03 14:48:04 +02:00
|
|
|
}
|