Make solution more secure

This commit is contained in:
Paweł Skórzewski 2024-04-10 11:34:43 +02:00
parent 8b9aa715b9
commit 1ab4a84168

2
Jenkinsfile vendored
View File

@ -21,7 +21,7 @@ pipeline {
stage('Test') {
steps {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
withEnv(['KAGGLE_USERNAME=${params.KAGGLE_USERNAME}', 'KAGGLE_KEY=${params.KAGGLE_KEY}']) {
sh 'set +x'
sh 'echo "{\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}" > ~/.kaggle/kaggle.json'
sh 'set -x'