Use ZUUL_BRANCH_REAL indirection if it exist.

the zuul_branch can be set to something not useful here like
ceph/jewel.  Ensure we use get the associated branch right.

Change-Id: I7f944fc1e7b73c3b7c129e58857bf4448ca1e26d
This commit is contained in:
Sofer Athlan-Guyot
2017-11-16 15:08:24 +01:00
parent 4b263d2a09
commit 2c7749f2d0

View File

@@ -30,7 +30,7 @@ RSpec.configure do |c|
# install git
install_package host, 'git'
zuul_branch = ENV['ZUUL_BRANCH']
zuul_branch = ENV['ZUUL_BRANCH_REAL'] || ENV['ZUUL_BRANCH']
puppet_maj_version = ENV['PUPPET_MAJ_VERSION']
repo = 'openstack/puppet-openstack-integration'