8000 upload build reports to analyze failure · java-code-samples/code-examples@8ea03ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ea03ad

Browse files
committed
upload build reports to analyze failure
1 parent e9f891c commit 8ea03ad

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,14 @@ jobs:
3333
AWS_REGION: us-east-1
3434
run: |
3535
chmod 755 build-all.sh && ./build-all.sh $MODULE
36+
37+
- name: "Zip build reports"
38+
if: failure()
39+
run: zip -r reports.zip **/build/reports
40+
41+
- uses: actions/upload-artifact@v1
42+
name: "Upload build reports"
43+
if: failure()
44+
with:
45+
name: reports
46+
path: reports.zip

build-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ then
8787
# ADD NEW MODULES HERE
8888
# (add new modules above the rest so you get quicker feedback if it fails)
8989

90+
build_gradle_module "spring-boot/cache"
9091
build_gradle_module "spring-boot/bean-lifecycle"
9192
build_gradle_module "spring-boot/request-response/client"
9293
build_gradle_module "spring-boot/request-response/server"
9394
build_gradle_module "spring-boot/hazelcast/hazelcast-embedded-cache"
9495
build_gradle_module "spring-boot/hazelcast/hazelcast-client-server"
95-
build_gradle_module "spring-boot/cache"
9696

9797
echo ""
9898
echo "+++"

0 commit comments

Comments
 (0)
0