Fix evaluation

This commit is contained in:
PawelDopierala 2024-05-14 23:22:00 +02:00
parent 254ef5ae8b
commit 0c279b9d52
1 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,14 @@ pipeline {
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
gitParameter(
branch: '',
branchFilter: '.*',
defaultValue: 'main',
name: 'TRAINING_BRANCH',
type: 'PT_BRANCH',
description: 'Branch for training project'
)
}
triggers {
@ -27,8 +35,8 @@ pipeline {
stage('CopyArtifacts') {
steps {
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-evaluation', selector: buildParameter('BUILD_SELECTOR'), optional: true
copyArtifacts fingerprintArtifacts: true, projectName: 's495719-training/' + params.TRAINING_BRANCH, selector: buildParameter('BUILD_SELECTOR')
copyArtifacts fingerprintArtifacts: true, projectName: 's495719-evaluation/main', selector: buildParameter('BUILD_SELECTOR'), optional: true
}
}
stage('Script') {