Add build_zuul_url parameter
Currently logstash does not track the zuul url. The zuul url contains the zm (zuul merger) node identifier. While trying to troubleshoot a zuul cloning issue, I noticed all faiures were coming from the same zm (zuul merger) node. Tracking the build_zuul_url can be helpful. This patch adds the build_zuul_url parameter. Change-Id: I83358dc0d9b27852df2395a9c52d2daaaeda712b
This commit is contained in:
parent
5badcb64d0
commit
c58d5b02f6
|
@ -112,6 +112,7 @@ class EventProcessor(threading.Thread):
|
|||
fields["build_queue"] = parameters.get("ZUUL_PIPELINE", "UNKNOWN")
|
||||
fields["build_ref"] = parameters.get("ZUUL_REF", "UNKNOWN")
|
||||
fields["build_branch"] = parameters.get("ZUUL_BRANCH", "UNKNOWN")
|
||||
fields["build_zuul_url"] = parameters.get("ZUUL_URL", "UNKNOWN")
|
||||
if parameters.get("ZUUL_CHANGE"):
|
||||
fields["build_change"] = parameters.get("ZUUL_CHANGE", "UNKNOWN")
|
||||
fields["build_patchset"] = parameters.get("ZUUL_PATCHSET",
|
||||
|
|
Loading…
Reference in New Issue