Dockerfile
This commit is contained in:
parent
6fe6c064c6
commit
41bf6d158a
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,9 +1,5 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent any
|
||||||
dockerfile {
|
|
||||||
filename 'Dockerfile'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
string (
|
string (
|
||||||
@ -23,7 +19,7 @@ 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}"]) {
|
||||||
sh 'rm -rf ~/.kaggle'
|
sh 'ls -al'
|
||||||
sh 'chmod +x create-dataset.py'
|
sh 'chmod +x create-dataset.py'
|
||||||
sh 'python3 ./create-dataset.py'
|
sh 'python3 ./create-dataset.py'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user