Fix github hook to actually trigger on changes to master.
Change-Id: If24e87d5037fb1cad7efae7da94c20da281e5eca
diff --git a/jenkins/jobs/global.xml.tpl b/jenkins/jobs/global.xml.tpl
index f5d228b..ce98f82 100644
--- a/jenkins/jobs/global.xml.tpl
+++ b/jenkins/jobs/global.xml.tpl
@@ -44,7 +44,7 @@
<authToken>##SECRET:github_trigger_auth_token##</authToken>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition">
<script>
-githubHook(refs: '^refs/(heads/release-|tags/).*$') {
+githubHook(refs: '^refs/(heads/release-|tags/|heads/master).*$') {
def branch = delegate.branch ? delegate.branch :"master"
def refspec = branch.matches('^(refs/heads/)?master$') ?
"+refs/heads/*:refs/remotes/origin/*" :