From cdf349e089cbe1df786ef648d4f0ce383362e245 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Fri, 6 May 2022 18:45:04 +0200 Subject: [PATCH] Revert "Add model build selector" This reverts commit f42a5aca2f10d8898cc39ae2e7d2bd62008e9c81. --- Jenkinsfile-eval | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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') {