Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7295

Create a test-patch script for Hudson

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      We should create a script that Hudson uses to execute test-patch that is in source control so modifications to test-patch.sh arguments can be done w/o updating Hudson.

      The script would execute the following, and take just the password as an argument.

      ${ANT_HOME}/bin/ant \
              -Dpatch.file=foobar \
              -Dscratch.dir=${WORKSPACE}/patchprocess \
              -Dsupport.dir=/homes/hudson/buildSupport  \
              -Dps.cmd=/bin/ps \
              -Dwget.cmd=/usr/bin/wget \
              -Djiracli.cmd=/homes/hudson/tools/jiracli-1.5/jira \
              -Dsvn.cmd=/usr/bin/svn \
              -Dgrep.cmd=/bin/grep \
              -Dpatch.cmd=/usr/bin/patch \
              -Dfindbugs.home=/homes/hudson/tools/findbugs/latest \
              -Dforrest.home=/homes/hudson/tools/forrest/latest \
              -Declipse.home=/homes/hudson/tools/eclipse/latest \
              -Dpython.home=/homes/hudson/tools/python/latest \
              -Djira.passwd=******** \
              -Dcurl.cmd=/usr/bin/curl \
              -Ddefect=HADOOP-${ISSUE_NUM} \
              hudson-test-patch
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: