From 70707b18e4e11cb3a7e8a4ddd9d198e2959ed1ed Mon Sep 17 00:00:00 2001 From: s434732 Date: Sat, 10 Apr 2021 16:00:15 +0200 Subject: [PATCH] docker-v3 --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 63a5453..eec396b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,9 @@ node { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434732/ium_434732']]]) checkout scm + def image = docker.build("image") - image.inside { + image.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}' { sh 'python3 ./skrypt_download.py' }