cutoff parameter
This commit is contained in:
parent
0f8b1bd87b
commit
744aeb91ce
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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}'
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user