forked from s464914/ium_464914
Update Jenkinsfile
This commit is contained in:
parent
46146448d6
commit
5caa1d82b5
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -16,12 +16,11 @@ pipeline {
|
||||
script {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
def testImage = docker.build("test-image")
|
||||
testImage.inside {
|
||||
sh 'echo 123'
|
||||
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
|
||||
}
|
||||
sh 'bash ./get_dataset.sh $CUTOFF'
|
||||
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user