Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for JENKINS-16204
List JDKs even if there is only one, to ensure a value is always set.
  • Loading branch information
jumpinthefire committed Mar 22, 2014
1 parent 5834f5f commit d56c3dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
checked="${instance.fitnesseStart==true}">

<j:set var="jdks" value="${app.JDKs}" />
<j:if test="${jdks.size() gt 1}">
<j:if test="${jdks.size() gt 0}">
<!-- if there's only one JDK configured, always use that. -->
<f:entry title="Fitnesse JDK"
description="JDK to be used for Fitnesse">
Expand Down

0 comments on commit d56c3dc

Please sign in to comment.