Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-30 19:02:47 +02:00
parent 42408c00ea
commit cfbf877ac2
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -6,6 +6,7 @@ pipeline {
description: 'Build for copying artifacts',
name: 'BUILD_SELECTOR'
)
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'experiments', name: 'BRANCH', type: 'PT_BRANCH'
}
stages {
stage('Git Checkout') {
@ -16,7 +17,7 @@ pipeline {
stage('Copy Artifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s464914-create-dataset', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts filter: '*', projectName: 's464914-training/experiments/', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts filter: '*', projectName: 's464914-training/' + params.BRANCH + '/', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts filter: '*', projectName: 's464914-evaluation/evaluation/', selector: buildParameter('BUILD_SELECTOR'), optional: true
}
}