# ignite-456: fixed patch apply
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ec49c4c6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ec49c4c6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ec49c4c6 Branch: refs/heads/ignite-456 Commit: ec49c4c684c88a7034046ad4153fae34e5fd51a0 Parents: 15f5976 Author: Artem Shutak <[email protected]> Authored: Mon May 18 16:47:07 2015 +0300 Committer: Artem Shutak <[email protected]> Committed: Mon May 18 16:47:07 2015 +0300 ---------------------------------------------------------------------- dev-tools/src/main/groovy/jiraslurp.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ec49c4c6/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 cb75d9a..53a3467 100644 --- a/dev-tools/src/main/groovy/jiraslurp.groovy +++ b/dev-tools/src/main/groovy/jiraslurp.groovy @@ -118,14 +118,14 @@ def applyPatch = { jira, attachementURL -> patchFile << new URL("$ATTACHMENT_URL/$attachementURL/").text try { - checkprocess "git am ${patchFile.name}".execute() + checkprocess "git am dev-tools/${patchFile.name}".execute(null, new File("../")) println "Patch was applied successfully." } catch (Exception e) { println "Patch was not applied successfully. Aborting patch applying." - checkprocess "git am --abort".execute() + checkprocess "git am --abort".execute(null, new File("../")) throw e; }
