Update 'Jenkinsfile'

This commit is contained in:
Patryk Gałka 2023-04-18 19:43:50 +02:00
parent d9bf151e1b
commit 31c24c9838

5
Jenkinsfile vendored
View File

@ -26,8 +26,6 @@ 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!)
echo "INPUT_TEXT: ${KAGGLE_USERNAME}"
//
sh 'rm -rf ium_z434686' sh 'rm -rf ium_z434686'
sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686' sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686'
} }
@ -48,6 +46,9 @@ pipeline {
"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 'ls -a | tee ls.txt' sh 'ls -a | tee ls.txt'
sh 'unzip video-game-sales-with-ratings.zip -d data'
sh 'rm video-game-sales-with-ratings.zip'
sh 'ls -a data/ | tee ls.txt'
} }
} }
} }