Update 'Jenkinsfile1'

This commit is contained in:
Kacper Dudzic 2022-03-27 13:50:02 +02:00
parent 03dcb3a287
commit 9ca5049f7d

View File

@ -16,9 +16,12 @@ pipeline {
echo 'Copying artifacts...' echo 'Copying artifacts...'
copyArtifacts fingerprintArtifacts: true, projectName: 's449288-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts fingerprintArtifacts: true, projectName: 's449288-create-dataset', selector: buildParameter('BUILD_SELECTOR')
echo 'Artifacts copied' 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...' 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 'Statistics file created'
echo 'Archiving results...' echo 'Archiving results...'
archiveArtifacts 'statystyki.txt' archiveArtifacts 'statystyki.txt'