Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-02 14:35:19 +02:00
parent 7d827bf89d
commit 6792fd545e

2
Jenkinsfile vendored
View File

@ -16,7 +16,7 @@ pipeline {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
def customImage = docker.build("custom-image", "--build-arg KAGGLE_USERNAME=$KAGGLE_USERNAME --build-arg KAGGLE_KEY=$KAGGLE_KEY .")
def customImage = docker.build("custom-image", "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
customImage.inside {
sh 'bash ./get_dataset.sh $CUTOFF'
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true