From e0411be3956ab81d626f78fbdc4f98f74dcdc6dd Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Fri, 9 Jan 2015 13:50:04 +0000 Subject: Disabled ssh connection to gerrit Signed-off-by: Milosz Wasilewski --- test-definitions-ci.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test-definitions-ci.py b/test-definitions-ci.py index 09364e5..fdbe800 100644 --- a/test-definitions-ci.py +++ b/test-definitions-ci.py @@ -34,14 +34,14 @@ def add_gerrit_comment(message, review): cmd = r'ssh %s gerrit review --code-review %s -m "\"%s"\" %s' % (gerrit_server, review, message, os.environ['GERRIT_PATCHSET_REVISION']) if debug: print cmd - try: - output = subprocess.check_output(cmd, shell=True) - except subprocess.CalledProcessError as e: - message = '* SETUP STEP: [FAILED]: %s' % cmd - result_message_list.append(message) - print e.output - publish_result() - exit(1) + #try: + # output = subprocess.check_output(cmd, shell=True) + #except subprocess.CalledProcessError as e: + # message = '* SETUP STEP: [FAILED]: %s' % cmd + # result_message_list.append(message) + # print e.output + # publish_result() + # exit(1) def notify_committer(): message_list= [] -- cgit v1.2.3