diff --git a/Jenkinsfile-evaluation b/Jenkinsfile-evaluation index 36784ad..5e99d94 100644 --- a/Jenkinsfile-evaluation +++ b/Jenkinsfile-evaluation @@ -1,5 +1,7 @@ pipeline { - agent any + agent { + dockerfile true + } parameters { buildSelector( @@ -19,6 +21,9 @@ pipeline { description: 'Which build to use for copying evaluation artifacts', name: 'BUILD_SELECTOR_EVALUATION' ) + + gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH' + } } stages { @@ -29,7 +34,7 @@ pipeline { { copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-create-dataset', selector: buildParameter('BUILD_SELECTOR_DATASET')) copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-training/master', selector: buildParameter('BUILD_SELECTOR_TRAINING')) - copyArtifacts(fingerprintArtifacts: true, projectName: 's434742-evaluation/master', selector: buildParameter('BUILD_SELECTOR_EVALUATION', optional=true)) + copyArtifacts(fingerprintArtifacts: true, optional=true, projectName: 's434742-evaluation/master', selector: buildParameter('BUILD_SELECTOR_EVALUATION')) } }