Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Patryk Łukasiewicz 2023-04-18 16:35:25 +02:00
parent b2ca093cc9
commit 4f6aea9d8d

6
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ 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'
)
@ -18,9 +18,9 @@ pipeline {
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!') {