diff --git a/Jenkinsfile b/Jenkinsfile index 26fc591..e8be373 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'