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!') {