update Jenkinsfile
This commit is contained in:
parent
f5cc717ffb
commit
a0a188c4e9
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -37,9 +37,9 @@ node {
|
||||
sh '''kaggle datasets download -d aleksandrglotov/car-prices-poland
|
||||
unzip -o car-prices-poland.zip
|
||||
wc -l Car_Prices_Poland_Kaggle.csv
|
||||
head -n $(($CUTTOFF / 10)) Car_Prices_Poland_Kaggle.csv > cars_test.csv
|
||||
head -n $(($CUTTOFF / 5)) Car_Prices_Poland_Kaggle.csv | tail $(($CUTTOFF / -10)) > cars_dev.csv
|
||||
head -n $(($CUTTOFF) Car_Prices_Poland_Kaggle.csv | tail $(($CUTTOFF * (-4 / 5) )) > cars_train.csv'''}
|
||||
head -n 11793 Car_Prices_Poland_Kaggle.csv > cars_test.csv
|
||||
head -n 23586 Car_Prices_Poland_Kaggle.csv | tail -11793 > cars_dev.csv
|
||||
head -n $((CUTOFF)) Car_Prices_Poland_Kaggle.csv | tail $((23586 - CUTOFF)) > cars_train.csv'''}
|
||||
}
|
||||
stage('Save data into artifacts') {
|
||||
archiveArtifacts artifacts: '*.csv', followSymlinks: false
|
||||
|
Loading…
Reference in New Issue
Block a user