From 4f176de119d8f70c15faefa32657f3a701f2012d Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Sun, 24 Apr 2022 17:28:49 +0200 Subject: [PATCH] Update 'lab6/Jenkinsfile' --- lab6/Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lab6/Jenkinsfile b/lab6/Jenkinsfile index 3848836..41aa47e 100644 --- a/lab6/Jenkinsfile +++ b/lab6/Jenkinsfile @@ -14,6 +14,10 @@ pipeline { echo 'Model and predictions saved' sh 'head lego_reg_results.csv' sh 'ls -lh lego_reg_model' + echo 'Archiving model...' + sh 'tar -czf lego_reg_model' + archiveArtifacts 'lego_reg_model.tar.gz' + echo 'Model archived' } } }