This commit is contained in:
Wojciech Lidwin 2023-03-26 18:07:12 +02:00
parent d7cd7b436b
commit d05bfb9828

2
Jenkinsfile vendored
View File

@ -23,10 +23,10 @@ node {
stage('Shell Script') { stage('Shell Script') {
// Run the maven build // Run the maven build
sh 'chmod u+x download_dataset.sh'
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh '''kaggle datasets download -d sohier/crime-in-baltimore'''
sh './download_dataset.sh' sh './download_dataset.sh'
archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv' archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv'
} }