Changed Jenkinsfile

This commit is contained in:
s464953 2024-03-23 21:23:23 +01:00
parent 1153a5fc6e
commit 0a4a608195
2 changed files with 2 additions and 6 deletions

3
Jenkinsfile vendored
View File

@ -25,7 +25,8 @@ pipeline {
steps { steps {
script { script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'bash download_dataset.sh $KAGGLE_USERNAME $KAGGLE_KEY' sh 'chmod 777 ./download_dataset.sh'
sh 'bash download_dataset.sh'
} }
} }
} }

View File

@ -2,11 +2,6 @@
pip install kaggle --upgrade pip install kaggle --upgrade
kaggle config set -n username -v "$1"
kaggle config set -n key -v "$2"
echo $1
echo $2
kaggle datasets download brunoalercon123/top-200-spotify-songs-dataset kaggle datasets download brunoalercon123/top-200-spotify-songs-dataset
unzip top-200-spotify-songs-dataset.zip unzip top-200-spotify-songs-dataset.zip