.
Some checks failed
s434784-evaluation/pipeline/head There was a failure building this commit
s434784-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Sobkowiak 2021-05-16 21:43:40 +02:00
parent a97ea10998
commit 72690d8de8

View File

@ -6,11 +6,17 @@ pipeline {
description: 'Which build to use for copying artifacts', description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR' name: 'BUILD_SELECTOR'
) )
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying model artifacts',
name: 'BUILD_SELECTOR_MODEL'
)
} }
stages{ stages{
stage('copy-artifacts') { stage('copy-artifacts') {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434784-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts fingerprintArtifacts: true, projectName: 's434784-create-dataset', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts(fingerprintArtifacts: true, projectName: 's434784-training', selector: buildParameter('BUILD_SELECTOR_MODEL'))
} }
} }