fix data dir 1
This commit is contained in:
parent
35d5a3d73f
commit
d6205031b9
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -25,11 +25,6 @@ pipeline {
|
||||
stage('Download Dataset') {
|
||||
steps {
|
||||
script {
|
||||
def datasetDir = 'data'
|
||||
if (!fileExists(datasetDir)) {
|
||||
sh "mkdir ${datasetDir}"
|
||||
}
|
||||
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh "bash ./download.sh"
|
||||
|
@ -1,6 +1,5 @@
|
||||
pip install kaggle
|
||||
kaggle datasets download -d fanconic/skin-cancer-malignant-vs-benign
|
||||
mv skin-cancer-malignant-vs-benign.zip ./data/
|
||||
unzip ./data/skin-cancer-malignant-vs-benign.zip
|
||||
rm ./data/skin-cancer-malignant-vs-benign.zip
|
||||
unzip skin-cancer-malignant-vs-benign.zip
|
||||
rm skin-cancer-malignant-vs-benign.zip
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user