removed env
This commit is contained in:
parent
8710c9a661
commit
c1c0e10e50
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -13,11 +13,6 @@ pipeline {
|
|||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
environment {
|
|
||||||
KAGGLE_USERNAME = "$params.KAGGLE_USERNAME"
|
|
||||||
KAGGLE_KEY = "$params.KAGGLE_KEY"
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
@ -34,9 +29,10 @@ pipeline {
|
|||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'kaggle datasets list'
|
sh 'kaggle datasets list'
|
||||||
|
sh './download.sh'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sh './download.sh'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user