Add parameters section
This commit is contained in:
parent
5044912cad
commit
2878a3dcb8
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@ -1,5 +1,23 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters{
|
||||
string(
|
||||
defaultValue: 'annadnowak',
|
||||
description: 'Kaggle username',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
trim: false
|
||||
),
|
||||
password(
|
||||
defaultValue: '',
|
||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
string(
|
||||
defaultValue: '10'
|
||||
description: 'CUTOFF',
|
||||
name: 'CUTOFF'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('checkout: Check out from version control') {
|
||||
steps {
|
||||
@ -18,11 +36,7 @@ pipeline {
|
||||
}
|
||||
stage('archive artifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'test.csv'
|
||||
archiveArtifacts 'data_shuf.csv'
|
||||
archiveArtifacts 'validation.csv'
|
||||
archiveArtifacts 'train.csv'
|
||||
archiveArtifacts 'header.csv'
|
||||
archiveArtifacts 'test.csv,data_shuf.csv,validation.csv,train.csv,header.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user