[
https://issues.apache.org/jira/browse/HADOOP-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576068#action_12576068
]
Nigel Daley commented on HADOOP-2939:
-------------------------------------
The attached patch file was provided by Ramya R.
This creates a new ant target that is run as follows:
ant test-patch -Dpatch.file="<PATCH_FILE>" -Dfindbugs.home="<FINDBUGS_HOME>"
-Dforrest.home="<FORREST_HOME>" [-Dscratch.dir="<SCRATCH_DIR>"]
By default : SCRATCH_DIR="$HOME/tmp"
SVN="svn" (can be set by svn.cmd)
GREP="grep" (can be set by patch.cmd)
PATCH="patch" (can be set by patch.cmd)
When run as the patch process on Hudson, the script is run as follows:
sh hudsonBuildHadoopPatch.sh [-c <PATCH_DIR>] [-s <SUPPORT_DIR>] [-t
<TRIGGER_BUILD>] [-j <JIRA_PASSWD>]
All the usage messages are incorporated at appropriate places and checking for
existence of files or directory has also been included.
> Make the Hudson patch process an executable ant target
> ------------------------------------------------------
>
> Key: HADOOP-2939
> URL: https://issues.apache.org/jira/browse/HADOOP-2939
> Project: Hadoop Core
> Issue Type: Improvement
> Components: test
> Reporter: Nigel Daley
> Assignee: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-2939.patch
>
>
> The automatic Hadoop patch testing does some fairly intricate processing. It
> would be useful if this was exposed to the developers as an ant target.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.