added cutoff parameter

This commit is contained in:
patrycjalazna 2021-03-28 15:51:48 +02:00
parent 0e5423599b
commit 0f8b1bd87b

7
Jenkinsfile vendored
View File

@ -8,6 +8,12 @@ pipeline {
name: 'KAGGLE_USERNAME',
trim: false
)
string(
defaultValue: '5000',
description: 'Data cutoff',
name: 'CUTOFF',
trim: false
)
}
stages {
@ -21,7 +27,6 @@ pipeline {
steps {
withEnv(['KAGGLE_USERNAME=$params.KAGGLE_USERNAME',
'KAGGLE_KEY=$params.KAGGLE_KEY']) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod +x avocado-preprocessing.sh'
sh 'chmod +x ./avocado-preprocessing.sh'
sh './avocado-preprocessing.sh ${CUTOFF}'