Skip to content

Commit

Permalink
partially added a customization for JNLP agent launch parameter
Browse files Browse the repository at this point in the history
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8285 71c3de6d-444a-0410-be80-ed276b4c234a
  • Loading branch information
kohsuke committed Apr 5, 2008
1 parent e25e023 commit 3eedda8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/src/main/resources/hudson/model/Computer/custom-jnlp.jelly
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<l:layout title="${it.displayName}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<h1>Tweak Launch Parameters</h1>
<p>
This page allows you to tweak the JVM parameters when launching JNLP slave agents.
<!-- TODO: work from home for the rest -->
</p>
</l:main-panel>
</l:layout>
</j:jelly>
4 changes: 4 additions & 0 deletions core/src/main/resources/hudson/model/Computer/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<img src="${imagesURL}/webstart.gif" alt="launch agent" />
Launch slave agent
</a>

<a href="custom-jnlp" style="margin-left:3em">
(tweak launch parameters)
</a>
</p>
<p>
(Click the above link from this slave computer to launch the slave agent via JNLP,
Expand Down

0 comments on commit 3eedda8

Please sign in to comment.