diff --git a/Jenkinsfile b/Jenkinsfile index c9adffe..26fc591 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,13 +26,7 @@ node { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' - sh 'chmod u+x ./download_dataset.sh' - sh ''' kaggle datasets download -d sohier/crime-in-baltimore -unzip crime-in-baltimore.zip - -head -n 8000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_train.csv -tail -n 2000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_test.csv -head -n 2000 baltimore_train.csv > baltimore_dev.csv''' + sh 'chmod a+rx ./download_dataset.sh' archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv' } }