Add build set URL to reporter
formatStatusUrl() return build set URL when the item.current_build_set.result exist (zuul/model.py) Also updated the quick-start to continue to look for the build URL instead of the buildset URL. Change-Id: I5f8433e2926da5a8d14b966d89cc943be1ecfca9
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
- name: Find the build URL with regex
|
||||
set_fact:
|
||||
build_url: "{{ result_json | to_json | from_json | json_query(json_query_log_url) | regex_search('(http://[^ ]*)') }}"
|
||||
build_url: "{{ result_json | to_json | from_json | json_query(json_query_log_url) | regex_search('-.*(http://[^ ]*)') | regex_search('(http://[^ ]*)') }}"
|
||||
vars:
|
||||
json_query_log_url: "messages[?contains(@.message, 'http://')].message | [1]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user