[JBoss JIRA] (JBIDE-23773) webservices PR job incorrectly configured
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23773?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-23773:
------------------------------------
To ensure we get good values for these jre.x variables, I've added this to the WS PR build job:
{code}
rm -f ${WORKSPACE}/jre.properties; touch ${WORKSPACE}/jre.properties
if [[ ${JAVA18} ]] && [[ ${JAVA_HOME} ]]; then
for d in 5 6 7 8; do
# if a JDK $d is defined, use that instead of JAVA_HOME for the jre.$d variable
theJAVA="JAVA1${d}" # eg., JAVA15; NOTE: could use OPENJDK6_HOME if preferred to Oracle JDK variables
theJAVAvar=${!theJAVA}
if [[ ${theJAVAvar} ]]; then
echo "jbosstools.test.jre.${d}=${JAVA_HOME/${JAVA18}/${theJAVAvar}}" >> ${WORKSPACE}/jre.properties
else
echo "jbosstools.test.jre.${d}=${JAVA_HOME}" >> ${WORKSPACE}/jre.properties
fi
done
elif [[ ${JAVA_HOME} ]]; then
for d in 5 6 7 8; do
echo "jbosstools.test.jre.${d}=${JAVA_HOME}" >> ${WORKSPACE}/jre.properties
done
fi
echo "JBoss Tools test JRE properties:"
cat ${WORKSPACE}/jre.properties
{code}
Now need a PR to test it against.
> webservices PR job incorrectly configured
> -----------------------------------------
>
> Key: JBIDE-23773
> URL: https://issues.jboss.org/browse/JBIDE-23773
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, webservices
> Affects Versions: 4.4.3.AM1
> Reporter: Jeff MAURY
> Assignee: Jeff MAURY
> Labels: build, jenkins, pull_request, webservices
> Fix For: 4.4.3.AM2
>
>
> The Jenkins job for checking webservices pull requests [1] is not properly configured. JREs (5,...) must be configured through a command line property and this causes tests to fail.
> [1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
> Should be able to fix the job as we did for server [2].
> [2] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years