summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-01-07 13:27:09 -0800
committerMatt Clay <matt@mystile.com>2019-01-07 16:50:31 -0800
commit99772e6ac375b597ee86098ee6b0edc8cb79789b (patch)
tree8a9f9e13b8e5197cfb52d742ec298c02bd57d7c4
parentcd9b364da826618b87cbac5dfabdea11902bf209 (diff)
downloadansible-99772e6ac375b597ee86098ee6b0edc8cb79789b.tar.gz
[stable-2.7] Fix run.py --branch argument.
The API docs state that both `branch` and `branchName` are valid, but only `branchName` appears to work. (cherry picked from commit 31c1bdd6a84283f407d01b4162e77b9f7e934abc) Co-authored-by: Matt Clay <matt@mystile.com>
-rwxr-xr-xtest/utils/shippable/tools/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/shippable/tools/run.py b/test/utils/shippable/tools/run.py
index 4a74076d53..1986b9820e 100755
--- a/test/utils/shippable/tools/run.py
+++ b/test/utils/shippable/tools/run.py
@@ -103,7 +103,7 @@ def main():
)
if args.branch:
- data['branch'] = args.branch
+ data['branchName'] = args.branch
elif args.run:
data['runId'] = args.run