From 4bf3130a1d31fac8fd50c87646807d295b177c40 Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sat, 15 May 2021 14:02:57 +0200 Subject: [PATCH] add run param --- lab5/create/Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lab5/create/Jenkinsfile b/lab5/create/Jenkinsfile index 7bfb036..a00f083 100644 --- a/lab5/create/Jenkinsfile +++ b/lab5/create/Jenkinsfile @@ -14,7 +14,10 @@ pipeline { } stage('docker') { agent { - dockerfile true + dockerfile { + filename 'Dockerfile' + args '-e KAGGLE_USERNAME=${KAGGLE_USERNAME} -e KAGGLE_KEY=${KAGGLE_KEY}' + } } stages { stage('script') {