mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
[FIXED HUDSON-3398] Allow JVM arguments to be specified for JNLP slaves.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16860 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9429fff861
commit
4edbb06b25
6 files changed
+45
-7
No files matched your search
@@ -49,13 +49,20 @@ public class JNLPLauncher extends ComputerLauncher {
|
||||
*/
|
||||
public final String tunnel;
|
||||
|
||||
/**
|
||||
* Additional JVM arguments. Can be null.
|
||||
* @since 1.297
|
||||
*/
|
||||
public final String vmargs;
|
||||
|
||||
@DataBoundConstructor
|
||||
public JNLPLauncher(String tunnel) {
|
||||
public JNLPLauncher(String tunnel, String vmargs) {
|
||||
this.tunnel = Util.fixEmptyAndTrim(tunnel);
|
||||
this.vmargs = Util.fixEmptyAndTrim(vmargs);
|
||||
}
|
||||
|
||||
public JNLPLauncher() {
|
||||
this(null);
|
||||
this(null,null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user