Skip to content

Commit

Permalink
Fixed build_re_dev used on Eclipse's Jenkins
Browse files Browse the repository at this point in the history
- respecting MVN_EXTRA
  • Loading branch information
dmatej committed Apr 11, 2022
1 parent 74adc51 commit 2282b1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion appserver/tests/gftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ if [ ! -z "${JENKINS_HOME}" ] ; then
fi
echo "Removing old glassfish directory: ${S1AS_HOME}";
rm -rf "${S1AS_HOME}";
if [ -z "${MVN_EXTRA}" ]; then
export MVN_EXTRA="";
fi
if [ -z "${GF_VERSION}" ]; then
export GF_VERSION="$(mvn help:evaluate -f \"${APS_HOME}/pom.xml\" -Dexpression=project.version -q -DforceStdout)"
export GF_VERSION="$(mvn help:evaluate -f \"${APS_HOME}/pom.xml\" -Dexpression=project.version -q -DforceStdout ${MVN_EXTRA})"
fi
if [ -z "${MVN_REPOSITORY}" ]; then
export MVN_REPOSITORY="${HOME}/.m2/repository";
Expand Down

0 comments on commit 2282b1e

Please sign in to comment.