22 lines
555 B
Groovy
22 lines
555 B
Groovy
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}"
|
|
)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |