Update 'lab6/Jenkinsfile_eval'
Some checks failed
s449288-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Kacper Dudzic 2022-04-26 15:06:50 +02:00
parent 841b84770a
commit 912543eacb

View File

@ -8,12 +8,13 @@ pipeline {
stages { stages {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git'
sh 'chmod u+x ./evaluate.py' sh 'chmod u+x ./evaluate.py'
echo 'Copying datasets from the create-dataset job...' echo 'Copying datasets from the create-dataset job...'
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset' copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'
echo 'Copying model from the training job...' 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' echo 'Model copied'
sh 'tar xvzf lego_reg_model.tar.gz' sh 'tar xvzf lego_reg_model.tar.gz'
echo 'Optional copying of the metrics file from previous build...' echo 'Optional copying of the metrics file from previous build...'