diff --git a/Jenkinsfile-eval b/Jenkinsfile-eval index 56a3698..6aef2c7 100644 --- a/Jenkinsfile-eval +++ b/Jenkinsfile-eval @@ -10,13 +10,8 @@ pipeline { buildSelector( defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', - name: 'BRANCH_SELECTOR' + name: 'BUILD_SELECTOR' ) - buildSelector( - defaultSelector: lastSuccessful(), - description: 'Which build to use for copying model', - name: 'MODEL_BUILD_SELECTOR' - ) } environment { @@ -29,14 +24,14 @@ pipeline { copyArtifacts projectName: 's444409-create-dataset', selector: lastSuccessful(), optional: true } } - stage('Get model') { + stage('Get model trend') { steps { - copyArtifacts projectName: "s444409-training/${params.BRANCH}/", selector: buildParameter('MODEL_BUILD_SELECTOR') + copyArtifacts projectName: "s444409-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true } } stage('Get previous trend') { steps { - copyArtifacts projectName: "s444409-evaluation/${params.BRANCH}/", selector: buildParameter('BRANCH_SELECTOR'), optional: true + copyArtifacts projectName: "s444409-evaluation/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true } } stage('Evaluate model and write results to file') {