Compare commits

..

No commits in common. "14b2cc293763835ca9c6e0e923b41cc0d89f05ef" and "c096796a9a5bb438f29b12dcc96c8dfc5204b815" have entirely different histories.

2 changed files with 9 additions and 4 deletions

9
Jenkinsfile vendored
View File

@ -11,13 +11,18 @@ pipeline {
checkout scm checkout scm
} }
} }
stage('Cleanup') {
steps {
sh 'rm -rf artifacts'
}
}
stage('Build') { stage('Build') {
steps { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'bash ./get_dataset.sh 100' sh 'bash ./get_dataset.sh ${params.CUTOFF}'
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
} }
} }
} }

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#pip install kaggle --upgrade pip install kaggle --upgrade
#kaggle datasets download -d nasa/meteorite-landings kaggle datasets download -d nasa/meteorite-landings
unzip -o meteorite-landings.zip unzip -o meteorite-landings.zip