From 64748a9e72c517389fd44e6102f5e750a0fbc608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Tue, 18 Apr 2023 19:50:03 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7a58f16..7093fbc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,18 +15,17 @@ pipeline { ) } stages { - stage('Hello') { + stage('clear_all') { 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 "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt" + sh 'rm -rf ium_z434686' + sh 'rm -rf data/' + sh 'rm -rf video-game-sales-with-ratings.zip' } } stage('checkout') { steps { //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) - sh 'rm -rf ium_z434686' sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686' } }