Fix ansible-test base branch usage on Shippable.
(cherry picked from commit 47887a2edd
)
This commit is contained in:
parent
7ba4f43be4
commit
0ca10bf3d5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue