zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Olivelli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3351) Migrate qa-test-pullrequest ant task to maven
Date Mon, 08 Apr 2019 20:32:00 GMT
Enrico Olivelli created ZOOKEEPER-3351:

             Summary: 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
             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:
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

git status
git rev-parse HEAD

which java
java -version
ulimit -a


${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 \

This message was sent by Atlassian JIRA

View raw message