t
This commit is contained in:
parent
2548b93211
commit
89cdb1365c
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -1,14 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
parameters {
|
|
||||||
string(
|
|
||||||
defaultValue: '10',
|
|
||||||
description: 'number of examples in dataset',
|
|
||||||
name: 'CUTOFF'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
when { expression { true } }
|
when { expression { true } }
|
||||||
@ -28,6 +20,11 @@ pipeline {
|
|||||||
description: 'Kaggle token taken from kaggle.json file',
|
description: 'Kaggle token taken from kaggle.json file',
|
||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
defaultValue: '10',
|
||||||
|
description: 'number of examples in dataset',
|
||||||
|
name: 'CUTOFF'
|
||||||
|
)
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -56,7 +53,6 @@ pipeline {
|
|||||||
|
|
||||||
head -n ${params.CUTOFF} Athletes_summer_games.csv > Athletes_summer_games_cutoff.csv
|
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) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user