Update 'Jenkinsfile'
This commit is contained in:
parent
23218ef22c
commit
63fb2b6347
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -1,28 +1,24 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
parameters{
|
||||||
stage('Preparation') {
|
|
||||||
properties([
|
|
||||||
parameters([
|
|
||||||
string(
|
string(
|
||||||
defaultValue: 'kaerde',
|
defaultValue: 'kaerde',
|
||||||
description: 'Kaggle username',
|
description: 'Kaggle username',
|
||||||
name: 'KAGGLE_USERNAME',
|
name: 'KAGGLE_USERNAME',
|
||||||
trim: false
|
trim: false
|
||||||
),
|
)
|
||||||
password(
|
password(
|
||||||
defaultValue: '36b8c984addfb7a043d772a9c6b23a1f',
|
defaultValue: '36b8c984addfb7a043d772a9c6b23a1f',
|
||||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
),
|
)
|
||||||
string(
|
string(
|
||||||
defaultValue: '130000',
|
defaultValue: '130000',
|
||||||
description: 'wielkość odcięcia zbioru danych',
|
description: 'wielkość odcięcia zbioru danych',
|
||||||
name: 'CUTOFF'
|
name: 'CUTOFF'
|
||||||
)
|
)
|
||||||
])
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
|
stages {
|
||||||
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