IUM_04 - update Jenkinsfile - test
This commit is contained in:
parent
7082b65b99
commit
388244ea63
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -3,7 +3,7 @@ pipeline {
|
||||
dockerfile {
|
||||
filename 'Dockerfile'
|
||||
reuseNode true
|
||||
args "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}"
|
||||
args "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY} -e CUTOFF=${params.CUTOFF}"
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,6 +37,8 @@ pipeline {
|
||||
script {
|
||||
sh "echo ${params.KAGGLE_USERNAME}"
|
||||
sh "echo ${KAGGLE_USERNAME}"
|
||||
sh "echo ${CUTOFF}"
|
||||
sh "echo ${params.CUTOFF}"
|
||||
sh "chmod +x ./download_dataset.py"
|
||||
sh "python3 ./download_dataset.py ${params.CUTOFF}"
|
||||
archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true
|
||||
|
Loading…
Reference in New Issue
Block a user