This commit is contained in:
s444501 2022-03-27 18:28:49 +02:00
parent 4f862d237a
commit d80a13ca2b
2 changed files with 5 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
parameters {
string(
defaultValue: '',
defaultValue: 'shuhrer',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
@ -33,6 +33,7 @@ pipeline {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh './download.sh'
}
archiveArtifacts artifacts: 'd_test.csv, d_dev.csv, d_train.csv'
}
}

4
download.sh Normal file → Executable file
View File

@ -1,3 +1,5 @@
kaggle datasets download -d arushchillar/disneyland-reviews
unzip disneyland-reviews.zip
head DisneylandReviews.csv > d_test.csv
tail DisneylandReviews.csv > d_dev.csv
tail -n 20 DisneylandReviews.csv > d_train.csv