Allow topic branches to use distribution-check 32/51932/1
authorSam Hague <shague@redhat.com>
Wed, 15 Feb 2017 23:36:49 +0000 (18:36 -0500)
committerSam Hague <shague@redhat.com>
Wed, 15 Feb 2017 23:36:59 +0000 (18:36 -0500)
commit18775bc98fd080c4c876c725f9a7c4ffb2ac5ee9
treea42211f0d14b25ff1828b89f8abfeff4c43027d4
parentf32491c9331f1097bc22973d88d459bfea17abd6
Allow topic branches to use distribution-check

The current distribution-check job assumes that the gerrit branch is known
to the integration/distribution branch, i.e. a patch on stable/boron
would build a distribution for stable/boron. This fails when using a topic branch
where integration/distribution only has the upstream branches, stable/boron and master.

This patch adds a variable: distribution_branch and sets the default to GERRIT_BRANCH.
For topic branches, they can set distribution_branch in their project.yamls to be
the right branch.

Change-Id: Icb39a2de15d66f3998daa68d3a40b95362029ae6
Signed-off-by: Sam Hague <shague@redhat.com>
jjb/netvirt/netvirt.yaml
jjb/releng-defaults.yaml
jjb/releng-templates-java.yaml