t
This commit is contained in:
parent
2548b93211
commit
89cdb1365c
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user