add cutoff

This commit is contained in:
Maciej Czajka 2022-03-25 21:41:41 +01:00
parent 0a71d4e5b2
commit 71e3efeeb7

6
Jenkinsfile vendored
View File

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