Dockerfile
This commit is contained in:
parent
41271cf581
commit
c62268dc8a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -24,13 +24,11 @@ pipeline {
|
|||||||
stage('Run create-dataset script') {
|
stage('Run create-dataset script') {
|
||||||
steps {
|
steps {
|
||||||
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||||
dir ('/app') {
|
|
||||||
sh 'chmod +x create-dataset.py'
|
sh 'chmod +x create-dataset.py'
|
||||||
sh 'python3 ./create-dataset.py'
|
sh 'python3 ./create-dataset.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage('Archive Artifacts') {
|
stage('Archive Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: '/app/data/*', onlyIfSuccessful: true
|
archiveArtifacts artifacts: '/app/data/*', onlyIfSuccessful: true
|
||||||
|
Loading…
Reference in New Issue
Block a user