Fix regex to detect overcloud image build

Image building was not running in stable/ branches
due to wrong regex, this patch fixes it to build on
branches containing / in them.

Change-Id: I692c3db7c14914f3e81b9c042579a6f7c0cf1f1e
This commit is contained in:
yatinkarel 2019-09-27 20:31:45 +05:30 committed by yatin
parent dc0ba8b9af
commit 62cea0868d

View File

@ -8,7 +8,7 @@
- name: Cleanup end of ZUUL_CHANGES
set_fact:
zuul_changes: "{{ zuul_changes|regex_replace(':[a-z]*:refs/changes/\\d{2}/\\d+/\\d+','') }}"
zuul_changes: "{{ zuul_changes|regex_replace(':[a-z/]*:refs/changes/\\d{2}/\\d+/\\d+','') }}"
- name: Split zuul_changes to a list
set_fact: