diff --git a/Jenkinsfile b/Jenkinsfile index c57bb0b..de508e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,8 +28,8 @@ node { checkout scm - def image = docker.build("image") - image.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}') { + def image = docker.build("image", "build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY}") + image.inside { sh 'python3 ./skrypt_download.py'