Dockerfile
This commit is contained in:
parent
7d1574144e
commit
0b63694ab1
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -15,7 +15,7 @@ pipeline {
|
|||||||
)
|
)
|
||||||
password (
|
password (
|
||||||
defaultValue: '',
|
defaultValue: '',
|
||||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
description: 'Kaggle API key',
|
||||||
name: 'KAGGLE_KEY',
|
name: 'KAGGLE_KEY',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -25,7 +25,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withEnv (["KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_KEY=${env.KAGGLE_KEY}"]) {
|
withEnv (["KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_KEY=${env.KAGGLE_KEY}"]) {
|
||||||
sh 'chmod +x create-dataset.py'
|
sh 'chmod +x create-dataset.py'
|
||||||
sh 'python3 ./create-dataset.py '
|
sh 'python3 ./create-dataset.py $KAGGLE_KEY'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user