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'