summaryrefslogtreecommitdiff
path: root/playbooks/tutorial
diff options
context:
space:
mode:
authorKenny Ho <y2kenny@gmail.com>2022-04-08 18:26:30 +0000
committerKenny Ho <y2kenny@gmail.com>2022-06-26 23:48:03 +0000
commit8176fd2ffb19a8534d016a3b57bb22f363b299da (patch)
tree9fb06743a86da6d2bd134cabef7f223b9a05b031 /playbooks/tutorial
parent895bb3646740862e0a9238ba52561c0df4362bcc (diff)
downloadzuul-8176fd2ffb19a8534d016a3b57bb22f363b299da.tar.gz
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
Diffstat (limited to 'playbooks/tutorial')
-rw-r--r--playbooks/tutorial/quick-start.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/tutorial/quick-start.yaml b/playbooks/tutorial/quick-start.yaml
index 8f114f16f..872b0e689 100644
--- a/playbooks/tutorial/quick-start.yaml
+++ b/playbooks/tutorial/quick-start.yaml
@@ -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]"