Added Cutoff parameter

This commit is contained in:
Wojciech Lidwin 2023-03-26 19:05:59 +02:00
parent 916f29e0ad
commit c99d765378

8
Jenkinsfile vendored
View File

@ -13,6 +13,11 @@ node {
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
name: 'KAGGLE_KEY'
)
string(
defaultValue: '4',
description: '',
name: 'CUTOFF'
)
])
])
}
@ -24,7 +29,8 @@ node {
stage('Shell Script') {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
"KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF} ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod a+rx ./download_dataset.sh'
archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv'