diff --git a/Jenkinsfile_create_dataset b/Jenkinsfile_create_dataset index e087b1b..ff0931e 100644 --- a/Jenkinsfile_create_dataset +++ b/Jenkinsfile_create_dataset @@ -26,7 +26,7 @@ pipeline { steps { //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) 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' } } @@ -44,10 +44,9 @@ pipeline { 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 data' + sh 'unzip 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 ls.txt' + sh 'ls -a | tee dataset.csv' } } } @@ -68,7 +67,6 @@ pipeline { echo 'Goodbye!' //Zarchiwizuj wynik archiveArtifacts 'output.txt' - archiveArtifacts 'ls.txt' archiveArtifacts 'dataset.csv' }