Dockerfile
This commit is contained in:
parent
4fada7b87b
commit
59d99f36b0
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -2,7 +2,7 @@ pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile'
|
||||
args '-u root -v $HOME:/app'
|
||||
args '-u root'
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,9 +24,6 @@ pipeline {
|
||||
stage('Run create-dataset script') {
|
||||
steps {
|
||||
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh 'mkdir /root/.kaggle'
|
||||
sh 'echo "{\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}" > /root/.kaggle/kaggle.json'
|
||||
sh 'chmod 600 /root/.kaggle/kaggle.json'
|
||||
sh 'chmod +x create-dataset.py'
|
||||
sh 'python3 ./create-dataset.py'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user