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