build selectors corrected
Some checks failed
s434742-training/pipeline/head This commit looks good
s434742-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
patrycjalazna 2021-05-11 21:00:04 +02:00
parent 298d134b46
commit 8eb7003ce7

View File

@ -4,21 +4,21 @@ pipeline {
parameters { parameters {
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying data artifacts',
name: 'BUILD_SELECTOR'
)
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR_DATASET' name: 'BUILD_SELECTOR_DATASET'
) )
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying training artifacts',
name: 'BUILD_SELECTOR_TRAINING' name: 'BUILD_SELECTOR_TRAINING'
) )
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying evaluation artifacts',
name: 'BUILD_SELECTOR_EVALUATION'
)
} }
@ -26,8 +26,9 @@ pipeline {
{ {
steps steps
{ {
copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-create-dataset', selector: buildParameter('WHICH_BUILD_DATASET')) copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-create-dataset', selector: buildParameter('BUILD_SELECTOR_DATASET'))
copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-training', selector: buildParameter('WHICH_BUILD_TRAINING')) copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-training', selector: buildParameter('BUILD_SELECTOR_TRAINING'))
copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-evaluation', selector: buildParameter('BUILD_SELECTOR_EVALUATION'))
} }
} }