ium_444386/Jenkinsfile2

22 lines
482 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:31:49 +02:00
dockerfile true
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 {
2022-04-03 15:30:05 +02:00
copyArtifacts filter: 'steam-200k.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
}