add zip to include all files

This commit is contained in:
michalzareba 2021-05-10 19:56:32 +02:00
parent 391b308c7a
commit 8ed1036908

View File

@ -19,7 +19,7 @@ pipeline {
stage('Archive artifacts') {
steps{
sh 'zip model.zip model_movies'
sh 'zip /var/lib/jenkins/workspace/s430705-training_master/model.zip /var/lib/jenkins/workspace/s430705-training_master/model_movies'
archiveArtifacts 'model.zip'
}
}