Skip to content

Commit fa8016b

Browse files
Add LogJuicer artifacts for failed build (#91)
Add LogJuicer artifacts for failed build This change adds a new build artifacts for failed job to help debug build failure. Fixes: packit/dashboard#375 Reviewed-by: Tomas Tomecek <[email protected]> Reviewed-by: Matej Focko
2 parents 6fcdf94 + 8729105 commit fa8016b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

playbooks/base/post.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
ara_report_run: false
2626
ara_report_type: database
2727
ara_report_path: ara-report
28+
tasks:
29+
- when: not zuul_success | bool
30+
zuul_return:
31+
data:
32+
zuul:
33+
artifacts:
34+
- name: "LogJuicer Report"
35+
url: "{{ logjuicer_web_url }}/report/new?target={{ zuul_web_url }}/build/{{ zuul.build }}"
36+
vars:
37+
logjuicer_web_url: https://softwarefactory-project.io/logjuicer
38+
zuul_web_url: https://softwarefactory-project.io/zuul/t/{{ zuul.tenant }}
2839

2940
- hosts: elk.softwarefactory-project.io
3041
gather_facts: false

0 commit comments

Comments
 (0)