This commit is contained in:
Jakub Zaręba 2023-03-27 21:48:47 +02:00
parent 0036eeda7e
commit 1fb9443d92

10
Jenkinsfile vendored
View File

@ -3,8 +3,8 @@ pipeline {
parameters { parameters {
string( string(
defaultValue: '100', defaultValue: '200',
description: 'The number of examples to keep in the dataset', description: 'number of examples in dataset',
name: 'CUTOFF' name: 'CUTOFF'
) )
} }
@ -25,7 +25,7 @@ pipeline {
), ),
password( password(
defaultValue: '', defaultValue: '',
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',
name: 'KAGGLE_KEY' name: 'KAGGLE_KEY'
) )
]) ])
@ -54,9 +54,9 @@ pipeline {
echo "Processed Data" > output.txt echo "Processed Data" > output.txt
head -n ${params.CUTOFF} athlete_events.csv > athlete_events_cutoff.csv head -n ${params.CUTOFF} Athletes_summer_games.csv > Athletes_summer_games_cutoff.csv
mv athlete_events_cutoff.csv athlete_events.csv mv Athletes_summer_games_cutoff.csv Athletes_summer_games.csv
''' '''
} }
} catch (err) { } catch (err) {