This commit is contained in:
Wojciech Lidwin 2023-04-04 15:32:59 +02:00
parent 90a8df7948
commit 90316349d8

2
Jenkinsfile vendored
View File

@ -37,7 +37,7 @@ node {
"KAGGLE_KEY=${params.KAGGLE_KEY}", "KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}" ]) { "CUTOFF=${params.CUTOFF}" ]) {
sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME''' sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME'''
sh 'echo {\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}>>kaggle.json' sh 'echo "{\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}">>kaggle.json'
sh 'cat kaggle.json' sh 'cat kaggle.json'
sh 'mkdir ~/.kaggle' sh 'mkdir ~/.kaggle'
sh 'mv kaggle.json ~/.kaggle' sh 'mv kaggle.json ~/.kaggle'