From 912543eacb3632bc57c2874fa71d44a5fb0b7bac Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Tue, 26 Apr 2022 15:06:50 +0200 Subject: [PATCH] Update 'lab6/Jenkinsfile_eval' --- lab6/Jenkinsfile_eval | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lab6/Jenkinsfile_eval b/lab6/Jenkinsfile_eval index 708c252..8aca014 100644 --- a/lab6/Jenkinsfile_eval +++ b/lab6/Jenkinsfile_eval @@ -8,12 +8,13 @@ pipeline { stages { stage('Stage 1') { steps { + git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git' sh 'chmod u+x ./evaluate.py' echo 'Copying datasets from the create-dataset job...' copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset' echo 'Datasets copied' echo 'Copying model from the training job...' - copyArtifacts filter: 'lego_reg_model.tar.gz', projectName: 's449288-training/' + copyArtifacts filter: 'lego_reg_model.tar.gz', projectName: 's449288-training' echo 'Model copied' sh 'tar xvzf lego_reg_model.tar.gz' echo 'Optional copying of the metrics file from previous build...'