diff --git a/Jenkinsfile b/Jenkinsfile index ec7c9a1..0070d70 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,6 +18,7 @@ node { ] ) stage('Two') { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { @@ -25,8 +26,12 @@ node { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434732/ium_434732']]]) - - sh 'python3 ./skrypt_download.py' + def image = docker.build("image") + testImage.inside { + sh 'python3 ./skrypt_download.py' + + } +