This commit is contained in:
Wojciech Lidwin 2023-04-04 15:54:08 +02:00
parent 3a22c0085a
commit b6f0571121

2
Jenkinsfile vendored
View File

@ -28,7 +28,7 @@ node {
stage('Dockerfile'){ stage('Dockerfile'){
def testImage = docker.image("ium") def testImage = docker.image("ium")
sh "chmod ugo+rwx ${env.WORKSPACE}" 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') { stage('Shell Script') {
// Run the maven build // Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",