Repository: incubator-ignite Updated Branches: refs/heads/ignite-456 e706cfc72 -> 484404b8d
# ignite-456: logs Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/484404b8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/484404b8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/484404b8 Branch: refs/heads/ignite-456 Commit: 484404b8d807bcd4d33c5da9ef550d9602b4e314 Parents: e706cfc Author: null <null> Authored: Fri May 22 16:21:57 2015 +0300 Committer: null <null> Committed: Fri May 22 16:21:57 2015 +0300 ---------------------------------------------------------------------- dev-tools/src/main/groovy/jiraslurp.groovy | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/484404b8/dev-tools/src/main/groovy/jiraslurp.groovy ---------------------------------------------------------------------- diff --git a/dev-tools/src/main/groovy/jiraslurp.groovy b/dev-tools/src/main/groovy/jiraslurp.groovy index 6a391d7..d70bb32 100644 --- a/dev-tools/src/main/groovy/jiraslurp.groovy +++ b/dev-tools/src/main/groovy/jiraslurp.groovy @@ -163,6 +163,8 @@ def applyPatch = { jira, attachementURL -> def patchFile = new File("${jira}-${attachementURL}.patch") try { + println "Getting patch content." + patchFile << new URL("$ATTACHMENT_URL/$attachementURL/").text try { @@ -184,7 +186,16 @@ def applyPatch = { jira, attachementURL -> catch (Exception e) { println "Patch was not applied successfully. Aborting patch applying." - checkprocess "git am --abort".execute(null, new File("../")) + try { + checkprocess "git am --abort".execute(null, new File("../")) + + print "Succsessfull: git am --abort." + } + catch (Exception e2) { + print "Error: git am --abort fails: " + + e2.printStackTrace() + } throw e; }
