Update 'Jenkinsfile_create_dataset'
This commit is contained in:
parent
5e708c6105
commit
455b13de7b
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user