Chmod edit

This commit is contained in:
Wojciech Lidwin 2023-04-04 13:59:47 +02:00
parent dce2468c03
commit 44f4fdfdb6

3
Jenkinsfile vendored
View File

@ -33,8 +33,9 @@ node {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}" ]) {
sh "chmod +x -R ${env.WORKSPACE}"
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod u+x kaggle datasets download -d sohier/crime-in-baltimore'
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'