Fix
This commit is contained in:
parent
222a82e2a3
commit
fe8aed2045
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -27,7 +27,7 @@ node {
|
||||
}
|
||||
stage('Dockerfile'){
|
||||
def testImage = docker.image("test-image")
|
||||
sh "chmod +x -R ${env.WORKSPACE}"
|
||||
sh "chmod u+x ${env.WORKSPACE}"
|
||||
testImage.inside("""-w=${WORKSPACE} """){
|
||||
stage('Shell Script') {
|
||||
// Run the maven build
|
||||
@ -35,8 +35,7 @@ node {
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||
"CUTOFF=${params.CUTOFF}" ]) {
|
||||
sh '''echo KAGGLE_USERNAME: $KAGGLE_USERNAME'''
|
||||
sh '''echo KAGGLE_USERNAME: $KAGGLE_KEY'''
|
||||
sh "kaggle datasets download -d sohier/crime-in-baltimore"
|
||||
sh "sudo 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'
|
||||
|
Loading…
Reference in New Issue
Block a user