From 715beb7c4579b479fbed8a5c4997fc8bd56c94bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Tue, 18 Apr 2023 17:04:34 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8f59e49..afe3292 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,15 @@ pipeline { sh "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt" } } + stage('checkout') { + steps { + //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) + echo "INPUT_TEXT: ${KAGGLE_USERNAME}" + //Wywołaj w konsoli komendę "figlet", która generuje ASCI-art + sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686 | ls -a | tee ls.txt' + } + } + stage('Goodbye!') { steps { echo 'Goodbye!'