Add parameters section
This commit is contained in:
parent
5044912cad
commit
2878a3dcb8
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@ -1,5 +1,23 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
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 {
|
stages {
|
||||||
stage('checkout: Check out from version control') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
steps {
|
||||||
@ -18,11 +36,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('archive artifacts') {
|
stage('archive artifacts') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts 'test.csv'
|
archiveArtifacts 'test.csv,data_shuf.csv,validation.csv,train.csv,header.csv'
|
||||||
archiveArtifacts 'data_shuf.csv'
|
|
||||||
archiveArtifacts 'validation.csv'
|
|
||||||
archiveArtifacts 'train.csv'
|
|
||||||
archiveArtifacts 'header.csv'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user