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') {