Update Jenkinsfile

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

1
Jenkinsfile vendored
View File

@ -15,7 +15,6 @@ 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
} }