Simplify the solution

This commit is contained in:
Paweł Skórzewski 2024-04-10 11:31:42 +02:00
parent 28718a082f
commit 8b9aa715b9

8
Jenkinsfile vendored
View File

@ -22,13 +22,9 @@ pipeline {
steps {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'echo ~'
sh 'ls -al ~'
sh 'whoami'
sh 'mkdir -p ~/.kaggle'
sh 'ls ~/.kaggle'
sh 'set +x'
sh 'echo "{\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}" > ~/.kaggle/kaggle.json'
sh 'set -x'
sh 'kaggle datasets list'
}
}