Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-02 14:19:15 +02:00
parent f70e130c52
commit 574e5108a6

3
Jenkinsfile vendored
View File

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