ium_444386/Jenkinsfile2

22 lines
508 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:09:12 +02:00
dockerfile { image 'szymonjadczak/ium:444386' }
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
}