update do zadania 2 z lab 06
This commit is contained in:
parent
c8ea52a77f
commit
00451aa2e2
@ -8,6 +8,12 @@ pipeline{
|
|||||||
defaultValue: 'master',
|
defaultValue: 'master',
|
||||||
description: 'Select the branch of training'
|
description: 'Select the branch of training'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
buildSelector(
|
||||||
|
name: 'BUILD_SELECTOR',
|
||||||
|
description: 'Which build to use for copying artifacts',
|
||||||
|
defaultSelector: lastSuccessful()
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
stages{
|
stages{
|
||||||
@ -23,7 +29,7 @@ pipeline{
|
|||||||
copyArtifacts(
|
copyArtifacts(
|
||||||
projectName: myProject,
|
projectName: myProject,
|
||||||
fingerprintArtifacts: true,
|
fingerprintArtifacts: true,
|
||||||
selector: [$class: 'SpecificBuildSelector', buildNumber: "lastSuccessfulBuild"]
|
selector: buildParameter('BUILD_SELECTOR')
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user