Changed Jenkinsfile
This commit is contained in:
parent
1153a5fc6e
commit
0a4a608195
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user