Update 'Jenkinsfile_create_dataset'

This commit is contained in:
Patryk Gałka 2023-04-19 15:53:23 +02:00
parent deea3bda83
commit 669f1afef7

View File

@ -31,7 +31,7 @@ pipeline {
stage('checkout') { stage('checkout') {
steps { steps {
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686 .' sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686'
} }
} }
@ -42,7 +42,7 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'kaggle datasets download -d rush4ratio/video-game-sales-with-ratings' sh 'kaggle datasets download -d rush4ratio/video-game-sales-with-ratings'
sh 'unzip video-game-sales-with-ratings.zip' sh 'unzip ./ium_z434686/video-game-sales-with-ratings.zip'
sh 'rm video-game-sales-with-ratings.zip' sh 'rm video-game-sales-with-ratings.zip'
} }
} }