diff --git a/Jenkinsfile b/Jenkinsfile index a1a2df0..0b2cc82 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,14 +1,6 @@ pipeline { agent any - parameters { - string( - defaultValue: '10', - description: 'number of examples in dataset', - name: 'CUTOFF' - ) - } - stages { stage('Preparation') { when { expression { true } } @@ -28,6 +20,11 @@ pipeline { description: 'Kaggle token taken from kaggle.json file', name: 'KAGGLE_KEY' ) + string( + defaultValue: '10', + description: 'number of examples in dataset', + name: 'CUTOFF' + ) ]) ]) } catch (err) { @@ -56,7 +53,6 @@ pipeline { head -n ${params.CUTOFF} Athletes_summer_games.csv > Athletes_summer_games_cutoff.csv - mv Athletes_summer_games_cutoff.csv Athletes_summer_games.csv ''' } } catch (err) {