22 lines
487 B
Plaintext
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'
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|