diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-01-09 13:50:04 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-01-09 13:50:04 +0000 |
commit | e0411be3956ab81d626f78fbdc4f98f74dcdc6dd (patch) | |
tree | e4e46741e360ecd27c43c74caf4b530f818f093f | |
parent | a5aeac11b715cf1546626c94586661651aee1f4e (diff) |
Disabled ssh connection to gerrit
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r-- | test-definitions-ci.py | 16 |
1 files 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= [] |