Jenkins fix
This commit is contained in:
parent
b64685b81d
commit
9f46844ace
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -26,5 +26,16 @@ pipeline {
|
|||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444465', url: 'https://git.wmi.amu.edu.pl/s444465/ium_444465']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444465', url: 'https://git.wmi.amu.edu.pl/s444465/ium_444465']]])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage("Download data") {
|
||||||
|
steps {
|
||||||
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
|
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||||
|
"CUTOFF=${params.CUTOFF}"]) {
|
||||||
|
sh "chmod 777 dataset_script.sh"
|
||||||
|
sh "./dataset_script.sh $CUTOFF"
|
||||||
|
archiveArtifacts artifacts: "heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv", onlyIfSuccessful: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user