Update 'Jenkinsfile'

This commit is contained in:
Kacper Dudzic 2022-03-25 22:22:15 +01:00
parent 7f976117ca
commit bb1fc904ef

4
Jenkinsfile vendored
View File

@ -25,10 +25,14 @@ pipeline {
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
echo 'Checking out...'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]])
echo 'Checked out'
echo 'Launching data processing script...'
sh 'chmod u+x ./skrypt.sh'
sh './skrypt.sh $CUTOFF'
echo 'Data processed'
echo 'Archiving results'
archiveArtifacts 'lego_sets.tar.gz'
echo 'Results archived'
}
}
}