This commit is contained in:
Wojciech Lidwin 2023-04-04 15:57:43 +02:00
parent b6f0571121
commit d62e9ea26f

4
Jenkinsfile vendored
View File

@ -27,8 +27,8 @@ node {
} }
stage('Dockerfile'){ stage('Dockerfile'){
def testImage = docker.image("ium") def testImage = docker.image("ium")
sh "chmod ugo+rwx ${env.WORKSPACE}" sh "chmod +x -R ${env.WORKSPACE}"
testImage.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'){ testImage.inside("""-w=${WORKSPACE} """){
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}",