mirror of
https://github.com/apache/sqoop.git
synced 2025-05-19 18:31:03 +08:00
Improving a bit displaying message
This commit is contained in:
parent
d35f978d73
commit
e6d1b04988
@ -80,7 +80,7 @@ def jira_get_defect(result, defect, username, password):
|
|||||||
def jira_post_comment(result, defect, branch, username, password):
|
def jira_post_comment(result, defect, branch, username, password):
|
||||||
url = "%s/rest/api/2/issue/%s/comment" % (BASE_JIRA_URL, defect)
|
url = "%s/rest/api/2/issue/%s/comment" % (BASE_JIRA_URL, defect)
|
||||||
body = [ "Here are the results of testing the latest attachment" ]
|
body = [ "Here are the results of testing the latest attachment" ]
|
||||||
body += [ "%s against %s." % (result.attachment, branch) ]
|
body += [ "%s against branch %s." % (result.attachment, branch) ]
|
||||||
body += [ "" ]
|
body += [ "" ]
|
||||||
if result._fatal:
|
if result._fatal:
|
||||||
result._error = [ result._fatal ] + result._error
|
result._error = [ result._fatal ] + result._error
|
||||||
|
Loading…
Reference in New Issue
Block a user