diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-02-26 15:58:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-26 15:58:29 +0000 |
commit | cd8d5bebfb6cea3a0341856bc7699baf4786074f (patch) | |
tree | 64b0b484b4302da1e02513cbe945aeda4eb4a10c /utils/test/result_collection_api/resources/handlers.py | |
parent | b2feb8edf2b28a0c174d022e69e825e00f66e701 (diff) | |
parent | 470566662dc0a1abe800cc5d09c8a2d0d3d14f6c (diff) |
Merge "Add jenkins build tag into result api"
Diffstat (limited to 'utils/test/result_collection_api/resources/handlers.py')
-rw-r--r-- | utils/test/result_collection_api/resources/handlers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/resources/handlers.py b/utils/test/result_collection_api/resources/handlers.py index 6443fc417..1f4d0bb7b 100644 --- a/utils/test/result_collection_api/resources/handlers.py +++ b/utils/test/result_collection_api/resources/handlers.py @@ -508,6 +508,7 @@ class TestResultsHandler(GenericApiHandler): - pod : pod name - version : platform version (Arno-R1, ...) - installer (fuel, ...) + - build_tag : Jenkins build tag name - period : x (x last days) @@ -524,6 +525,7 @@ class TestResultsHandler(GenericApiHandler): pod_arg = self.get_query_argument("pod", None) version_arg = self.get_query_argument("version", None) installer_arg = self.get_query_argument("installer", None) + build_tag_arg = self.get_query_argument("build_tag", None) period_arg = self.get_query_argument("period", None) # prepare request @@ -544,6 +546,9 @@ class TestResultsHandler(GenericApiHandler): if installer_arg is not None: get_request["installer"] = installer_arg + if build_tag_arg is not None: + get_request["build_tag"] = build_tag_arg + if period_arg is not None: try: period_arg = int(period_arg) |