Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-02 14:24:01 +02:00
parent a36acd9073
commit 5edee4fc83

4
Jenkinsfile vendored
View File

@ -16,9 +16,9 @@ pipeline {
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")
testImage.inside ( testImage.inside {
sh 'echo 123' sh 'echo 123'
) }
sh 'bash ./get_dataset.sh $CUTOFF' sh 'bash ./get_dataset.sh $CUTOFF'
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
} }