From 4f6aea9d8dfe26961bc7d154b420d85683910505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20=C5=81ukasiewicz?= Date: Tue, 18 Apr 2023 16:35:25 +0200 Subject: [PATCH] Zaktualizuj 'Jenkinsfile' --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c5eaaad..13af628 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,18 +9,18 @@ pipeline { trim: false ) password( - defaultValue: '', + defaultValue: 'password', 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') { steps { //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) - echo "INPUT_TEXT: ${INPUT_TEXT}" + echo "INPUT_TEXT: ${KAGGLE_USERNAME}" //Wywołaj w konsoli komendę "figlet", która generuje ASCI-art - sh "figlet \"${INPUT_TEXT}\" | tee output.txt" + sh "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt" } } stage('Goodbye!') {