diff --git a/Jenkinsfile b/Jenkinsfile index 1143705..d5618d7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { trim: false ) string( - defaultValue: '5000', + defaultValue: '10000', description: 'Data cutoff', name: 'CUTOFF', trim: false @@ -29,6 +29,7 @@ pipeline { 'KAGGLE_KEY=$params.KAGGLE_KEY']) { sh 'chmod +x avocado-preprocessing.sh' sh 'chmod +x ./avocado-preprocessing.sh' + sh 'echo ${CUTOFF}' sh './avocado-preprocessing.sh ${CUTOFF}' } } diff --git a/avocado-preprocessing.sh b/avocado-preprocessing.sh index cd6b201..fb0a66c 100755 --- a/avocado-preprocessing.sh +++ b/avocado-preprocessing.sh @@ -4,6 +4,7 @@ kaggle datasets download -d timmate/avocado-prices-2020 unzip -o avocado-prices-2020.zip wc -l avocado-updated-2020.csv +echo '${CUTOFF} AAAAAAAAAAAAAAAAA' # przetwarzanie pliku grep -P "^$" -n avocado-updated-2020.csv