Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-02 14:17:55 +02:00
parent b694a1bff7
commit f70e130c52

6
Jenkinsfile vendored
View File

@ -16,10 +16,8 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"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} .")
customImage.inside (
sh 'bash ./get_dataset.sh $CUTOFF'
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
)
sh 'bash ./get_dataset.sh $CUTOFF'
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
}
}
}