Fix evaluation
This commit is contained in:
parent
323af6ef55
commit
9a9e61e97e
@ -6,8 +6,13 @@ pipeline {
|
|||||||
parameters{
|
parameters{
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
description: 'Which build to use for copying artifacts ',
|
description: 'Which build to use for copying artifacts (create-dataset, evaluation)',
|
||||||
name: 'BUILD_SELECTOR'
|
name: 'BUILD_SELECTOR_MAIN'
|
||||||
|
)
|
||||||
|
buildSelector(
|
||||||
|
defaultSelector: lastSuccessful(),
|
||||||
|
description: 'Which build to use for copying artifacts (training)',
|
||||||
|
name: 'BUILD_SELECTOR_TRAINING'
|
||||||
)
|
)
|
||||||
gitParameter(
|
gitParameter(
|
||||||
branchFilter: '.*',
|
branchFilter: '.*',
|
||||||
@ -34,8 +39,8 @@ pipeline {
|
|||||||
stage('CopyArtifacts') {
|
stage('CopyArtifacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s495719-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s495719-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's495719-training', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's495719-training/' + params.TRAINING_BRANCH, selector: buildParameter('BUILD_SELECTOR')
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's495719-evaluation', selector: buildParameter('BUILD_SELECTOR'), optional: true
|
copyArtifacts fingerprintArtifacts: true, projectName: 's495719-evaluation/main', selector: buildParameter('BUILD_SELECTOR'), optional: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Script') {
|
stage('Script') {
|
||||||
|
Loading…
Reference in New Issue
Block a user