ium_444386/Jenkinsfile2
2022-04-03 15:05:44 +02:00

22 lines
487 B
Plaintext

pipeline{
agent {
dockerfile { image 'ium' }
}
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()
sh 'chmod u+x ./kagle.py'
sh 'python3 kagle.py'
}
}
}
}