Update 'Jenkinsfile'

This commit is contained in:
Kacper Dudzic 2022-03-25 22:19:55 +01:00
parent 8a0e670726
commit 7f976117ca

5
Jenkinsfile vendored
View File

@ -14,7 +14,7 @@ pipeline {
)
string(
defaultValue: '130000',
description: 'wielkość odcięcia zbioru danych',
description: 'data file cutoff threshold',
name: 'CUTOFF'
)
}
@ -23,8 +23,9 @@ pipeline {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
echo 'Hello world!'
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 'Launching data processing script...'
sh 'chmod u+x ./skrypt.sh'
sh './skrypt.sh $CUTOFF'
archiveArtifacts 'lego_sets.tar.gz'