[ https://issues.apache.org/jira/browse/ZOOKEEPER-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812782#comment-16812782 ]
Enrico Olivelli commented on ZOOKEEPER-3351: -------------------------------------------- My plan is to migrate all of the checks to Maven and then leave a minimal bash file which does these the check using git command and checks for new tests. This new file will be called from maven as well in the pull request validation job (using the Maven 'exec' plugin) - > Migrate qa-test-pullrequest ant task to maven > --------------------------------------------- > > Key: ZOOKEEPER-3351 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3351 > Project: ZooKeeper > Issue Type: Improvement > Components: build > Affects Versions: 3.5.5 > Reporter: Enrico Olivelli > Assignee: Enrico Olivelli > Priority: Major > Fix For: 3.6.0 > > > 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: > {code:java} > #!/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{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)