Save artifacts

This commit is contained in:
Marcin Kostrzewski 2022-03-27 23:25:26 +02:00
parent fa95822a21
commit e0bf48706c
2 changed files with 7 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -29,4 +29,10 @@ pipeline {
} }
} }
} }
post {
always {
archiveArtifacts artifacts: 'data/*',
onlyIfSuccessful: true
}
}
} }

View File

@ -46,7 +46,7 @@ kaggle datasets download -d anikannal/solar-power-generation-data
echo "Done." echo "Done."
echo "Unzipping archive" 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 "Done."
echo "Splitting datasets" echo "Splitting datasets"