Update 'Jenkinsfile'
This commit is contained in:
parent
29cc768589
commit
cb86349335
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@ -1,14 +1,23 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
|
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
|
||||||
parameters {
|
stage('Preparation') {
|
||||||
string (
|
properties([
|
||||||
defaultValue: 'Hello World!',
|
parameters([
|
||||||
description: 'Tekst, którym chcesz przywitać świat',
|
string(
|
||||||
name: 'INPUT_TEXT',
|
defaultValue: 'tomaszzitkiewicz',
|
||||||
trim: false
|
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'
|
||||||
|
)
|
||||||
|
])
|
||||||
|
])
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('Hello') {
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user