zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TisonKun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3351) Migrate qa-test-pullrequest ant task to maven
Date Sat, 13 Apr 2019 06:55:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816853#comment-16816853
] 

TisonKun commented on ZOOKEEPER-3351:
-------------------------------------

[~eolivelli] is there an umbrella issue about drop ANT?

> 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
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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)

Mime
View raw message