ium_444386/Jenkinsfile2

22 lines
476 B
Plaintext
Raw Normal View History

2022-03-27 12:28:44 +02:00
pipeline{
2022-04-03 14:48:04 +02:00
agent {
dockerfile true
}
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
}