add zip to include all files
Some checks failed
s430705-training/pipeline/head There was a failure building this commit

This commit is contained in:
michalzareba 2021-05-10 19:59:07 +02:00
parent 153e5e16f9
commit 48870c815c

View File

@ -13,14 +13,14 @@ pipeline {
sh 'python3 lab06_training.py' sh 'python3 lab06_training.py'
sh 'ls -l' sh 'ls -l'
sh 'pwd' sh 'pwd'
sh 'zip model.zip model_movies'
} }
} }
stage('Archive artifacts') { stage('Archive artifacts') {
steps{ steps{
sh 'zip /var/lib/jenkins/workspace/s430705-training_master/model.zip /var/lib/jenkins/workspace/s430705-training_master/model_movies' archiveArtifacts 'model.zip'
archiveArtifacts '/var/lib/jenkins/workspace/s430705-training_master/model.zip'
} }
} }
stage('Send notification'){ stage('Send notification'){