Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-02 14:25:32 +02:00
parent 5edee4fc83
commit 46146448d6
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -13,6 +13,7 @@ pipeline {
} }
stage('Build') { stage('Build') {
steps { steps {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
def testImage = docker.build("test-image") def testImage = docker.build("test-image")
@ -24,5 +25,6 @@ pipeline {
} }
} }
} }
}
} }
} }