Skip to content

Commit

Permalink
Include hyperlink to jenkins.io Java Web Start redirect page
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Nov 23, 2018
1 parent cae208a commit f33e5f8
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions core/src/main/resources/hudson/slaves/JNLPLauncher/main.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,27 @@ THE SOFTWARE.
${%Connect agent to Jenkins one of these ways:}
</p>
<ul>
<j:if test="${it.launcher.javaWebStartSupported}">
<li>
<p>
<a href="slave-agent.jnlp" id="jnlp-link">
<img src="${imagesURL}/webstart.gif" alt="${%launch agent}" />
</a>
${%Launch agent from browser}
</p>
</li>
</j:if>
<j:choose>
<j:when test="${it.launcher.javaWebStartSupported}">
<li>
<p>
<a href="slave-agent.jnlp" id="jnlp-link">
<img src="${imagesURL}/webstart.gif" alt="${%launch agent}" />
</a>
${%Launch agent from browser}
</p>
</li>
</j:when>
<j:otherwise>
<li>
<p>
<a href="https://jenkins.io/redirect/java11-java-web-start">
${%Java Web Start is not available for the JVM version running Jenkins}
</a>
</p>
</li>
</j:otherwise>
</j:choose>
<j:choose>
<j:when test="${it.ACL.hasPermission(app.ANONYMOUS, it.CONNECT)}">
<li>
Expand Down

0 comments on commit f33e5f8

Please sign in to comment.