diff --git a/Jenkinsfile b/Jenkinsfile index 06f3e2d..2d129ab 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,4 +29,10 @@ pipeline { } } } + post { + always { + archiveArtifacts artifacts: 'data/*', + onlyIfSuccessful: true + } + } } diff --git a/download_dataset.sh b/download_dataset.sh index 6930433..12d23aa 100644 --- a/download_dataset.sh +++ b/download_dataset.sh @@ -46,7 +46,7 @@ kaggle datasets download -d anikannal/solar-power-generation-data echo "Done." echo "Unzipping archive" -files=$(unzip solar-power-generation-data.zip | tail -n +2 | cut -d ' ' -f 4) +files=$(unzip -o solar-power-generation-data.zip | tail -n +2 | cut -d ' ' -f 4) echo "Done." echo "Splitting datasets"