diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-08-17 11:22:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-17 11:22:50 +0000 |
commit | 7f44a270739fe60f3bc22cae287bce88be83f304 (patch) | |
tree | 45b579ac79dde21e86ded6608469464abb91c4a4 /utils | |
parent | 2a1a966650f9572a004f2321f86e31efbfb67840 (diff) | |
parent | 97fc67c5b21b15e33647d8654810f4403cde6f7b (diff) |
Merge "Add reporting flag to push reuslts only from CI"
Diffstat (limited to 'utils')
-rw-r--r-- | utils/functest_utils.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py index d020ebac8..3dd93fd28 100644 --- a/utils/functest_utils.py +++ b/utils/functest_utils.py @@ -169,9 +169,18 @@ def logger_test_results(logger, project, case_name, status, details): version = get_version(logger) build_tag = get_build_tag(logger) - logger.info("Pushing %(p)s/%(n)s results: TEST_DB_URL=%(db)s " - "pod_name=%(pod)s version=%(v)s scenario=%(s)s " - "criteria=%(c)s details=%(d)s" % { + logger.info("\n" + "****************************************\n" + "\t %(p)s/%(n)s results \n\n" + "****************************************\n" + "DB:\t%(db)s\n" + "pod:\t%(pod)s\n" + "version:\t%(v)s\n" + "scenario:\t%(s)s\n" + "status:\t%(c)s\n" + "build tag:\t%(b)s\n" + "details:\t%(d)s\n" + % { 'p': project, 'n': case_name, 'db': get_db_url(), |