This commit is contained in:
Wojciech Lidwin 2023-04-04 14:06:51 +02:00
parent c97b65aabd
commit 09a7e6911d

6
Jenkinsfile vendored
View File

@ -34,9 +34,9 @@ node {
"KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}" ]) {
sh "chmod 777 -R ${env.WORKSPACE}"
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets download -d sohier/crime-in-baltimore'
sh 'unzip crime-in-baltimore.zip'
sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME'''
sh '''kaggle datasets download -d sohier/crime-in-baltimore'''
sh '''unzip crime-in-baltimore.zip'''
sh 'python3 data.py'
archiveArtifacts artifacts: 'BPD_Part_1_Victim_Based_Crime_Data.csv,baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv'
}