upload build reports to analyze failure

This commit is contained in:
Tom Hombergs
2020-08-08 17:13:39 +10:00
parent e9f891c9ea
commit 8ea03ad675
2 changed files with 12 additions and 1 deletions

View File

@@ -33,3 +33,14 @@ jobs:
AWS_REGION: us-east-1
run: |
chmod 755 build-all.sh && ./build-all.sh $MODULE
- name: "Zip build reports"
if: failure()
run: zip -r reports.zip **/build/reports
- uses: actions/upload-artifact@v1
name: "Upload build reports"
if: failure()
with:
name: reports
path: reports.zip

View File

@@ -87,12 +87,12 @@ then
# ADD NEW MODULES HERE
# (add new modules above the rest so you get quicker feedback if it fails)
build_gradle_module "spring-boot/cache"
build_gradle_module "spring-boot/bean-lifecycle"
build_gradle_module "spring-boot/request-response/client"
build_gradle_module "spring-boot/request-response/server"
build_gradle_module "spring-boot/hazelcast/hazelcast-embedded-cache"
build_gradle_module "spring-boot/hazelcast/hazelcast-client-server"
build_gradle_module "spring-boot/cache"
echo ""
echo "+++"