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