1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ansible-test base branch usage on Shippable.

This commit is contained in:
Matt Clay 2017-03-17 17:06:02 -07:00
parent 634d6894e3
commit 47887a2edd

View file

@ -1136,7 +1136,7 @@ class SanityConfig(TestConfig):
self.base_branch = args.base_branch # str
elif is_shippable():
try:
self.base_branch = os.environ['BASE_BRANCH'] # str
self.base_branch = 'origin/%s' % os.environ['BASE_BRANCH'] # str
except KeyError as ex:
raise MissingEnvironmentVariable(name=ex.args[0])
else: