22 lines
483 B
Plaintext
22 lines
483 B
Plaintext
pipeline{
|
|
agent {
|
|
docker { 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'
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|