cutoff parameter

This commit is contained in:
patrycjalazna 2021-03-28 16:06:45 +02:00
parent 0f8b1bd87b
commit 744aeb91ce
2 changed files with 3 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -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}'
}
}

View File

@ -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