summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJan Hruban <jan.hruban@gooddata.com>2017-01-03 15:12:41 +0100
committerJesse Keating <omgjlk@us.ibm.com>2017-05-11 17:21:09 -0700
commitddeb95ac33e651f256282f923d37902ae413387b (patch)
treead9bd9e95658ff942e837e7ec57a26b54d093214 /etc
parentd55d7af510ba5d7d3359d1abd2523128de6aa026 (diff)
downloadzuul-ddeb95ac33e651f256282f923d37902ae413387b.tar.gz
Set filter according to PR/Change in URL
E.g. https://zuul-server/#333 will set filter to 333 Introduce related configuration option And always pass the full change url in github status payloads Allow the status_url to be used in a pipeline start-message. Change-Id: I7b9eccb1d218d65d8c6b01e042e6cce4f8aec89a
Diffstat (limited to 'etc')
-rw-r--r--etc/status/public_html/jquery.zuul.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/status/public_html/jquery.zuul.js b/etc/status/public_html/jquery.zuul.js
index d973948be..5c69bd198 100644
--- a/etc/status/public_html/jquery.zuul.js
+++ b/etc/status/public_html/jquery.zuul.js
@@ -52,6 +52,10 @@
var collapsed_exceptions = [];
var current_filter = read_cookie('zuul_filter_string', '');
+ var change_set_in_url = window.location.href.split('#')[1];
+ if (change_set_in_url) {
+ current_filter = change_set_in_url;
+ }
var $jq;
var xhr,