Added new jenkinsfile and kuggle download script
This commit is contained in:
parent
13ee175e5d
commit
199737042a
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -20,7 +20,9 @@ pipeline {
|
|||||||
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${env.KAGGLE_KEY}"
|
"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'
|
sh './kuggle_download.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pobieranie i rozpakowanie
|
# Pobieranie i rozpakowanie
|
||||||
|
echo KAGGLE_USERNAME
|
||||||
|
echo KAGGLE_KEY
|
||||||
pip install kaggle
|
pip install kaggle
|
||||||
kaggle datasets download -d thedevastator/1-5-million-beer-reviews-from-beer-advocate
|
kaggle datasets download -d thedevastator/1-5-million-beer-reviews-from-beer-advocate
|
||||||
unzip -o 1-5-million-beer-reviews-from-beer-advocate.zip
|
unzip -o 1-5-million-beer-reviews-from-beer-advocate.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user