diff --git a/Jenkinsfile b/Jenkinsfile index 4452059..8825402 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,6 +13,11 @@ pipeline { description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials', name: 'KAGGLE_KEY' ) + string( + defaultValue: '1', + description: 'Cutoff lines', + name: 'CUTOFF' + ) } environment { KAGGLE_USERNAME="$params.KAGGLE_USERNAME" @@ -37,6 +42,7 @@ pipeline { } sh './download.sh' archiveArtifacts artifacts: 'all_games.csv.dev, all_games.csv.test, all_games.csv.train', followSymlinks: false + head -n $CUTOFF all_games.csv.train } } }