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

This commit is contained in:
Wojciech Jarmosz 2021-05-14 23:58:58 +02:00
parent 18f091aef3
commit 207d418075

View File

@ -4,14 +4,16 @@ pipeline {
}
parameters {
buildSelector(defaultSelector: lastSuccessful(), description: 'Use latest build training', name: 'BUILD_SELECTOR_TRAINING')
buildSelector(defaultSelector: lastSuccessful(), description: 'Use latest build evaluation', name: 'BUILD_SELECTOR_EVALUATION')
buildSelector(defaultSelector: lastSuccessful(), description: 'Use latest build training', name: 'BUILD_SELECTOR_CREATE')
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
}
stages {
stage("Copy artifacts"){
steps {
copyArtifacts fingerprintArtifacts: true, projectName: "s434704-training/${params.BRANCH}", selector: buildParameter('BUILD_SELECTOR_TRAINING')
copyArtifacts fingerprintArtifacts: true, projectName: "s434704-evaluation/${params.BRANCH}", optional: true, selector: buildParameter(lastSuccessful())
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter(lastSuccessful())
copyArtifacts fingerprintArtifacts: true, projectName: "s434704-evaluation/${params.BRANCH}", optional: true, selector: buildParameter('BUILD_SELECTOR_EVALUATION')
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR_CREATE')
}
}
stage("Run evaluation"){