From 47887a2eddf4b53ff1292c000b26852c306b727a Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 17 Mar 2017 17:06:02 -0700 Subject: [PATCH] Fix ansible-test base branch usage on Shippable. --- test/runner/lib/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index ed8a4326bb..75d95ec9f6 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -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: