22 lines
555 B
Plaintext
22 lines
555 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
parameters {
|
||
|
buildSelector(
|
||
|
defaultSelector: lastSuccesful(),
|
||
|
description: 'Which build to use for copying artifacts',
|
||
|
name: 'BUILD_SELECTOR'
|
||
|
)
|
||
|
}
|
||
|
stages {
|
||
|
stage('Copy artifacts') {
|
||
|
steps {
|
||
|
script {
|
||
|
copyArtifacts(
|
||
|
projectName: 'z-s487179-create-dataset',
|
||
|
selector: "${params.BUILD_SELECTOR}"
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|