From 455b13de7ba645572d5e51352a9ee2fc57be35e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Wed, 19 Apr 2023 16:07:25 +0200 Subject: [PATCH] Update 'Jenkinsfile_create_dataset' --- Jenkinsfile_create_dataset | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile_create_dataset b/Jenkinsfile_create_dataset index d848b72..e250e32 100644 --- a/Jenkinsfile_create_dataset +++ b/Jenkinsfile_create_dataset @@ -28,22 +28,18 @@ pipeline { sh 'rm -rf *' } } - 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' - } - } + stage('Build') { steps { + sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686' // Run the maven build withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { sh 'kaggle datasets download -d rush4ratio/video-game-sales-with-ratings' - //sh 'unzip video-game-sales-with-ratings.zip -d ./ium_z434686' - unzip zipFile: 'video-game-sales-with-ratings.zip', dir: './ium_z434686' + sh 'unzip video-game-sales-with-ratings.zip -d ./ium_z434686' + //unzip zipFile: 'video-game-sales-with-ratings.zip', dir: './ium_z434686' sh 'rm video-game-sales-with-ratings.zip' } }