Skip to content

Commit

Permalink
Add LogJuicer artifacts for failed build (#91)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
2 parents 6fcdf94 + 8729105 commit fa8016b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions playbooks/base/post.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@
ara_report_run: false
ara_report_type: database
ara_report_path: ara-report
tasks:
- when: not zuul_success | bool
zuul_return:
data:
zuul:
artifacts:
- name: "LogJuicer Report"
url: "{{ logjuicer_web_url }}/report/new?target={{ zuul_web_url }}/build/{{ zuul.build }}"
vars:
logjuicer_web_url: https://softwarefactory-project.io/logjuicer
zuul_web_url: https://softwarefactory-project.io/zuul/t/{{ zuul.tenant }}

- hosts: elk.softwarefactory-project.io
gather_facts: false
Expand Down

0 comments on commit fa8016b

Please sign in to comment.