[jbosstools-issues] [JBoss JIRA] (JBIDE-24117) Webservices PR check build fails because JRE5 is not set

Nick Boldt (JIRA) issues at jboss.org
Mon Mar 20 12:19:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13381060#comment-13381060 ] 

Nick Boldt commented on JBIDE-24117:
------------------------------------

I've reopened https://github.com/jbosstools/jbosstools-webservices/pull/265 so that it can be rebuilt from https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstools-webservices-Pull-Request/ -- new change to job config is as follows:

{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} (see also JBIDE-23773)

> Webservices PR check build fails because JRE5 is not set
> --------------------------------------------------------
>
>                 Key: JBIDE-24117
>                 URL: https://issues.jboss.org/browse/JBIDE-24117
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.4.4.AM1
>            Reporter: Jeff MAURY
>            Assignee: Nick Boldt
>
> The PR check for Webservices causes unit tests to fail because the JRE5 location property is not fixed. See https://github.com/jbosstools/jbosstools-webservices/pull/265



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list