From 9ca5049f7dd07301e800ac4588f454e742b6e2d5 Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Sun, 27 Mar 2022 13:50:02 +0200 Subject: [PATCH] Update 'Jenkinsfile1' --- Jenkinsfile1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile1 b/Jenkinsfile1 index 472d270..c330cd1 100644 --- a/Jenkinsfile1 +++ b/Jenkinsfile1 @@ -16,9 +16,12 @@ pipeline { echo 'Copying artifacts...' copyArtifacts fingerprintArtifacts: true, projectName: 's449288-create-dataset', selector: buildParameter('BUILD_SELECTOR') echo 'Artifacts copied' - sh 'chmod u+x ./statystyki.sh' + echo 'Unpacking artifacts' + sh 'tar xvzf lego_sets.tar.gz' + echo 'Artifacts unpacked' echo 'Creating statistics file...' - sh './statystyki.sh' + sh 'chmod u+x ./statystyki.sh' + sh './statystyki.sh lego_sets.train.csv' echo 'Statistics file created' echo 'Archiving results...' archiveArtifacts 'statystyki.txt'