Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3351

Migrate qa-test-pullrequest ant task to maven

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.5
    • 3.6.0
    • build
    • Hide
      ant precommit is not used anymore on master branch.
      It is active on branch-3.5 and branch-3.4
      Show
      ant precommit is not used anymore on master branch. It is active on branch-3.5 and branch-3.4

    Description

      In order to drop ANT we have to migrate task qa-test-pullrequest to Maven.

      That task is currently called this way in ASF Jenkins:

      #!/bin/bash
      set +x
      
      #export JAVA_HOME=/home/jenkins/tools/java/jdk1.7.0-64
      export ANT_HOME=/home/jenkins/tools/ant/apache-ant-1.9.9
      
      #export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin:
      export PATH=$PATH:$LATEST1_8_HOME/bin:$ANT_HOME/bin:
      
      export PATCH_DIR=${WORKSPACE}/patchprocess
      if [ ! -e "$PATCH_DIR" ] ; then
          mkdir -p $PATCH_DIR
      fi
      
      pwd
      git status
      git rev-parse HEAD
      
      which java
      java -version
      ulimit -a
      
      env
      
      ${ANT_HOME}/bin/ant \
              -Dpatch.file=foobar \
              -Dscratch.dir=$PATCH_DIR \
              -Dps.cmd=/bin/ps \
              -Dwget.cmd=/usr/bin/wget \
              -Djiracli.cmd=/home/jenkins/tools/jiracli/latest/jira.sh \
              -Dgit.cmd=/usr/bin/git \
              -Dgrep.cmd=/bin/grep \
              -Dpatch.cmd=/usr/bin/patch \
              -Dfindbugs.home=/home/jenkins/tools/findbugs/latest/ \
              -Dforrest.home=/home/jenkins/tools/forrest/latest/ \
              -Djira.passwd=xxxxxxxx \
              -Djava5.home=/home/jenkins/tools/java5/latest/ \
              -Dcurl.cmd=/usr/bin/curl \
              -Dtest.junit.maxmem=2g \
              qa-test-pullrequest

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              eolivelli Enrico Olivelli
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 40m
                  5h 40m