ium_444386/Jenkinsfile2

22 lines
483 B
Plaintext
Raw Normal View History

2022-03-27 12:28:44 +02:00
pipeline{
2022-04-03 14:48:04 +02:00
agent {
2022-04-03 15:35:20 +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 {
2022-04-10 17:24:28 +02:00
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
}