Dockerfile
This commit is contained in:
parent
f8e2639078
commit
7d743709d2
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -21,6 +21,9 @@ pipeline {
|
||||
stage('Run create-dataset script') {
|
||||
steps {
|
||||
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh 'mkdir /.kaggle'
|
||||
sh 'echo "{\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}" > /.kaggle/kaggle.json'
|
||||
sh 'chmod 600 /.kaggle/kaggle.json'
|
||||
sh 'chmod +x create-dataset.py'
|
||||
sh 'python3 ./create-dataset.py'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user