Compare commits

...

2 Commits

Author SHA1 Message Date
14b2cc2937 delete files 2024-03-26 19:49:41 +01:00
c8725cd7c7 cutoff change 2024-03-26 19:49:26 +01:00
2 changed files with 4 additions and 9 deletions

9
Jenkinsfile vendored
View File

@ -11,18 +11,13 @@ 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 ${params.CUTOFF}' sh 'bash ./get_dataset.sh 100'
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