Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Patryk Łukasiewicz 2023-04-18 16:24:03 +02:00
parent 65579f94e2
commit b2ca093cc9

6
Jenkinsfile vendored
View File

@ -1,19 +1,19 @@
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([ parameters{
string( string(
defaultValue: 'patluk', defaultValue: 'patluk',
description: 'Kaggle username', description: 'Kaggle username',
name: 'KAGGLE_USERNAME', name: 'KAGGLE_USERNAME',
trim: false trim: false
), )
password( password(
defaultValue: '', defaultValue: '',
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'
) )
]) }
stages { stages {
stage('Hello') { stage('Hello') {
steps { steps {