export env variables in script
This commit is contained in:
parent
34b2d4184a
commit
8710c9a661
@ -40,6 +40,8 @@ pipeline {
|
||||
script {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'export KAGGLE_USERNAME=${params.KAGGLE_USERNAME}'
|
||||
sh 'export KAGGLE_KEY=${params.KAGGLE_KEY}'
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh 'kaggle datasets list'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user