Added new jenkinsfile and kuggle download script

This commit is contained in:
AWieczarek 2024-03-24 18:02:15 +01:00
parent 13ee175e5d
commit 199737042a
2 changed files with 5 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -20,7 +20,9 @@ pipeline {
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
"KAGGLE_KEY=${env.KAGGLE_KEY}"
]) {
sh "bash ./kuggle_download.sh ${params.KAGGLE_DATASET_ID} ${params.CUTOFF}"
echo ${env.KAGGLE_USERNAME}
echo ${env.KAGGLE_KEY}
sh "bash ./kuggle_download.sh ${params.CUTOFF}"
sh './kuggle_download.sh'
}
}

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Pobieranie i rozpakowanie
echo KAGGLE_USERNAME
echo KAGGLE_KEY
pip install kaggle
kaggle datasets download -d thedevastator/1-5-million-beer-reviews-from-beer-advocate
unzip -o 1-5-million-beer-reviews-from-beer-advocate.zip