From 68245480989eab5467c51950b9da95e86d949fa4 Mon Sep 17 00:00:00 2001 From: piotrwrzodak Date: Thu, 20 Apr 2023 22:58:19 +0200 Subject: [PATCH] try with checkout --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 909b166..9591cbb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,20 +20,20 @@ pipeline { ) } stages { - stage('Clear') { + stage('checkout: Check out from version control') { steps { - sh 'rm -rf *' + checkout scm } } stage('Build') { steps { sh 'git clone https://git.wmi.amu.edu.pl/s444510/ium_z444510.git' withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { - sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities' - sh 'unzip airbnb-prices-in-european-cities.zip -d ./ium_z444510' - sh 'rm airbnb-prices-in-european-cities.zip' +// sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities' +// sh 'unzip airbnb-prices-in-european-cities.zip -d ./ium_z444510' +// sh 'rm airbnb-prices-in-european-cities.zip' sh 'ls -a' - sh 'ls -a ./ium_z444510' +// sh 'ls -a ./ium_z444510' sh 'chmod +x create-dataset.sh' sh './create-dataset.sh' }