From ac3214e063a085dbbffdfa9e18af8c642ed910de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Tue, 18 Apr 2023 20:37:10 +0200 Subject: [PATCH] Update 'Jenkinsfile_dataset_stats' --- Jenkinsfile_dataset_stats | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Jenkinsfile_dataset_stats b/Jenkinsfile_dataset_stats index e69de29..0f33583 100644 --- a/Jenkinsfile_dataset_stats +++ b/Jenkinsfile_dataset_stats @@ -0,0 +1,21 @@ +pipeline { + agent any + //Definijuemy parametry, które będzie można podać podczas wywoływania zadania + parameters{} + stages { + stage('clear_all') { + steps { + //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) + 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 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686' + } + } + } +} \ No newline at end of file