Skip to content

Commit

Permalink
BUILD SCRIPT ONLY: Do not conditionally build the app server further
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjenkinson committed Nov 29, 2024
1 parent ea2cf7f commit f3fdd6f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions scripts/hudson/narayana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,10 @@ function build_as {

WILDFLY_VERSION_FROM_JBOSS_AS=`awk '/wildfly-parent/ { while(!/<version>/) {getline;} print; }' ${WILDFLY_CLONED_REPO}/pom.xml | cut -d \< -f 2|cut -d \> -f 2`

if [ ! -d ${WILDFLY_CLONED_REPO}/dist/target/wildfly-${WILDFLY_VERSION_FROM_JBOSS_AS} ]; then

# building WildFly
export MAVEN_OPTS="-XX:MaxMetaspaceSize=512m $MAVEN_OPTS"
JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxMetaspaceSize=512m $JAVA_OPTS" ./build.sh clean install -B -DskipTests -Dts.smoke=false $IPV6_OPTS -Dversion.org.jboss.narayana.lra=${LRA_CURRENT_VERSION} "$@"
[ $? -eq 0 ] || fatal "AS build failed"

fi
# building WildFly
export MAVEN_OPTS="-XX:MaxMetaspaceSize=512m $MAVEN_OPTS"
JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxMetaspaceSize=512m $JAVA_OPTS" ./build.sh clean install -B -DskipTests -Dts.smoke=false $IPV6_OPTS -Dversion.org.jboss.narayana.lra=${LRA_CURRENT_VERSION} "$@"
[ $? -eq 0 ] || fatal "AS build failed"

echo "AS version is ${WILDFLY_VERSION_FROM_JBOSS_AS}"
JBOSS_HOME=${WILDFLY_CLONED_REPO}/dist/target/wildfly-${WILDFLY_VERSION_FROM_JBOSS_AS}
Expand Down

0 comments on commit f3fdd6f

Please sign in to comment.