Update Jenkinsfile
This commit is contained in:
parent
7d827bf89d
commit
6792fd545e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -16,7 +16,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
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("custom-image", "--build-arg KAGGLE_USERNAME=$KAGGLE_USERNAME --build-arg KAGGLE_KEY=$KAGGLE_KEY .")
|
def customImage = docker.build("custom-image", "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
|
||||||
customImage.inside {
|
customImage.inside {
|
||||||
sh 'bash ./get_dataset.sh $CUTOFF'
|
sh 'bash ./get_dataset.sh $CUTOFF'
|
||||||
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
||||||
|
Loading…
Reference in New Issue
Block a user