diff --git a/Jenkinsfile b/Jenkinsfile index 32ec3fa..15a3fbd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,11 +2,9 @@ pipeline { agent any stages { stage('Clone repo + run bash script') { - steps { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { - // Chekout na reporyztorium - checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'f746c8e0-e974-4758-838d-1920a7b0e3dc', url: 'https://git.wmi.amu.edu.pl/s434704/ium_434704']]]) // Uruchomienie skryptu sh "chmod 777 ./data_download.sh" sh "./data_download.sh"