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') {
|
stage('Download Dataset') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def datasetDir = 'data'
|
|
||||||
if (!fileExists(datasetDir)) {
|
|
||||||
sh "mkdir ${datasetDir}"
|
|
||||||
}
|
|
||||||
|
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||||
sh "bash ./download.sh"
|
sh "bash ./download.sh"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
pip install kaggle
|
pip install kaggle
|
||||||
kaggle datasets download -d fanconic/skin-cancer-malignant-vs-benign
|
kaggle datasets download -d fanconic/skin-cancer-malignant-vs-benign
|
||||||
mv skin-cancer-malignant-vs-benign.zip ./data/
|
unzip skin-cancer-malignant-vs-benign.zip
|
||||||
unzip ./data/skin-cancer-malignant-vs-benign.zip
|
rm skin-cancer-malignant-vs-benign.zip
|
||||||
rm ./data/skin-cancer-malignant-vs-benign.zip
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user