Update 'Jenkinsfile'
This commit is contained in:
parent
23218ef22c
commit
63fb2b6347
42
Jenkinsfile
vendored
42
Jenkinsfile
vendored
@ -1,28 +1,24 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
parameters{
|
||||||
|
string(
|
||||||
|
defaultValue: 'kaerde',
|
||||||
|
description: 'Kaggle username',
|
||||||
|
name: 'KAGGLE_USERNAME',
|
||||||
|
trim: false
|
||||||
|
)
|
||||||
|
password(
|
||||||
|
defaultValue: '36b8c984addfb7a043d772a9c6b23a1f',
|
||||||
|
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||||
|
name: 'KAGGLE_KEY'
|
||||||
|
)
|
||||||
|
string(
|
||||||
|
defaultValue: '130000',
|
||||||
|
description: 'wielkość odcięcia zbioru danych',
|
||||||
|
name: 'CUTOFF'
|
||||||
|
)
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Preparation') {
|
|
||||||
properties([
|
|
||||||
parameters([
|
|
||||||
string(
|
|
||||||
defaultValue: 'kaerde',
|
|
||||||
description: 'Kaggle username',
|
|
||||||
name: 'KAGGLE_USERNAME',
|
|
||||||
trim: false
|
|
||||||
),
|
|
||||||
password(
|
|
||||||
defaultValue: '36b8c984addfb7a043d772a9c6b23a1f',
|
|
||||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
|
||||||
name: 'KAGGLE_KEY'
|
|
||||||
),
|
|
||||||
string(
|
|
||||||
defaultValue: '130000',
|
|
||||||
description: 'wielkość odcięcia zbioru danych',
|
|
||||||
name: 'CUTOFF'
|
|
||||||
)
|
|
||||||
])
|
|
||||||
])
|
|
||||||
}
|
|
||||||
stage('Stage 1') {
|
stage('Stage 1') {
|
||||||
steps {
|
steps {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
|
Loading…
Reference in New Issue
Block a user