Update post ref regex

This changed between gerrit 2.11 and 2.13.  It sends "refs/heads/"
on branches now.

Change-Id: I3e52f3f327c918432d7d9e79ab3f3bfe2f16b553
This commit is contained in:
James E. Blair 2017-09-19 08:01:33 -07:00
parent 0335417d0d
commit 1e004f5a47

View File

@ -100,7 +100,7 @@
trigger: trigger:
gerrit: gerrit:
- event: ref-updated - event: ref-updated
ref: ^(?!refs/).*$ ref: ^refs/heads/.*$
- pipeline: - pipeline:
name: pre-release name: pre-release
@ -156,7 +156,7 @@
trigger: trigger:
gerrit: gerrit:
- event: ref-updated - event: ref-updated
ref: ^(?!refs/).*$ ref: ^refs/heads/.*$
failure: failure:
smtp: smtp:
from: zuul@openstack.org from: zuul@openstack.org