From 0d19ad744d99b6befc92b2069d56ed0a8721bbec Mon Sep 17 00:00:00 2001 From: s434732 Date: Sat, 10 Apr 2021 16:21:18 +0200 Subject: [PATCH] docker-v3 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'