You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by as...@apache.org on 2018/01/18 14:49:59 UTC

oozie git commit: OOZIE-3162 amend Precommit build fails to add comment to JIRA (asasvari)

Repository: oozie
Updated Branches:
  refs/heads/master 5f4d3171a -> 5a413c32d


OOZIE-3162 amend Precommit build fails to add comment to JIRA (asasvari)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/5a413c32
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/5a413c32
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/5a413c32

Branch: refs/heads/master
Commit: 5a413c32d259fb649f90b33754ba8c41556bd145
Parents: 5f4d317
Author: Attila Sasvari <as...@cloudera.com>
Authored: Thu Jan 18 15:49:11 2018 +0100
Committer: Attila Sasvari <as...@cloudera.com>
Committed: Thu Jan 18 15:49:11 2018 +0100

----------------------------------------------------------------------
 bin/test-patch  | 2 +-
 release-log.txt | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/5a413c32/bin/test-patch
----------------------------------------------------------------------
diff --git a/bin/test-patch b/bin/test-patch
index d729120..4614978 100755
--- a/bin/test-patch
+++ b/bin/test-patch
@@ -117,7 +117,7 @@ updateJira() {
            -H "Content-type: application/json"\
            -H "Accept: application/json"\
            -X POST\
-           --data '{"body": "'${comment}'"}'\
+           --data "{\"body\": \"${comment}\"}"\
            ${JIRAURL}/rest/api/2/issue/${JIRAISSUE}/comment || echo "Failed to add comment to JIRA"
       echo
     else

http://git-wip-us.apache.org/repos/asf/oozie/blob/5a413c32/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index fc25e4f..4b33ffe 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 5.0.0 release (trunk - unreleased)
 
+OOZIE-3162 amend Precommit build fails to add comment to JIRA (asasvari)
 OOZIE-3159 Spark Action fails because of absence of hadoop mapreduce jar(s) (asasvari)
 OOZIE-3162 Precommit build fails to add comment to JIRA (asasvari)
 OOZIE-1401 amend PurgeCommand should purge the workflow jobs w/o end_time (andras.piros, asasvari)