Update 'lab8/Jenkinsfile_train'
All checks were successful
s449288-evaluation/pipeline/head This commit looks good
s449288-training/pipeline/head This commit looks good

This commit is contained in:
Kacper Dudzic 2022-05-13 15:02:15 +02:00
parent 6cc2ab875a
commit 000edaa5b9

View File

@ -21,9 +21,10 @@ pipeline {
sh 'tar -czf lego_reg_model.tar.gz lego_reg_model/' sh 'tar -czf lego_reg_model.tar.gz lego_reg_model/'
archiveArtifacts 'lego_reg_model.tar.gz' archiveArtifacts 'lego_reg_model.tar.gz'
echo 'Model archived' echo 'Model archived'
sh 'ls -lh runs mlruns'
echo 'Archiving the MLflow repo...' echo 'Archiving the MLflow repo...'
archiveArtifacts 'mlruns' sh 'ls -lh mlruns'
sh 'tar -czf mlruns.tar.gz mlruns/'
archiveArtifacts 'mlruns.tar.gz'
echo 'MLflow repo archived' echo 'MLflow repo archived'
echo 'Launching the s449288-evaluation job...' echo 'Launching the s449288-evaluation job...'
build job: 's449288-evaluation/master/' build job: 's449288-evaluation/master/'