Update 'Jenkinsfile_create_dataset'
This commit is contained in:
parent
d74a67d96e
commit
59ca216011
@ -26,7 +26,7 @@ pipeline {
|
|||||||
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 'rm -rf ium_z434686'
|
sh 'rm -rf ium_z434686'
|
||||||
sh 'rm -rf data/'
|
sh 'rm -rf Video_Games_Sales_as_at_22_Dec_2016.csv'
|
||||||
sh 'rm -rf video-game-sales-with-ratings.zip'
|
sh 'rm -rf video-game-sales-with-ratings.zip'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -44,10 +44,9 @@ 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 -d data'
|
sh 'unzip video-game-sales-with-ratings.zip'
|
||||||
sh 'rm video-game-sales-with-ratings.zip'
|
sh 'rm video-game-sales-with-ratings.zip'
|
||||||
sh 'ls -a ./data/ | tee dataset.csv'
|
sh 'ls -a | tee dataset.csv'
|
||||||
sh 'ls -a | tee ls.txt'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -68,7 +67,6 @@ pipeline {
|
|||||||
echo 'Goodbye!'
|
echo 'Goodbye!'
|
||||||
//Zarchiwizuj wynik
|
//Zarchiwizuj wynik
|
||||||
archiveArtifacts 'output.txt'
|
archiveArtifacts 'output.txt'
|
||||||
archiveArtifacts 'ls.txt'
|
|
||||||
archiveArtifacts 'dataset.csv'
|
archiveArtifacts 'dataset.csv'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user