17 lines
375 B
Plaintext
17 lines
375 B
Plaintext
|
pipeline{
|
||
|
agent any
|
||
|
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()
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|