update
This commit is contained in:
parent
cecf748d99
commit
26e0c14a79
@ -1,5 +1,12 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
parameters {
|
||||||
|
buildSelector(
|
||||||
|
name: 'BUILD_SELECTOR',
|
||||||
|
description: 'Which build to use for copying artifacts',
|
||||||
|
defaultSelector: 'lastSuccessful()'
|
||||||
|
)
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout git clone') {
|
stage('Checkout git clone') {
|
||||||
steps {
|
steps {
|
||||||
@ -11,7 +18,7 @@ pipeline {
|
|||||||
copyArtifacts(
|
copyArtifacts(
|
||||||
projectName: 'z-s487175-create-dataset',
|
projectName: 'z-s487175-create-dataset',
|
||||||
fingerprintArtifacts: true,
|
fingerprintArtifacts: true,
|
||||||
selector: lastSuccessful()
|
selector: buildParameter('BUILD_SELECTOR')
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user