diff --git a/Jenkinsfile b/Jenkinsfile index e37b9b2..efd8241 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,7 @@ node { stage('Dockerfile'){ def testImage = docker.image("ium") sh "chmod ugo+rwx ${env.WORKSPACE}" - testImage.inside("""-w=${WORKSPACE} """){ + testImage.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'){ stage('Shell Script') { // Run the maven build withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",