-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues/238 add jnlp tunnel configuration #239
base: master
Are you sure you want to change the base?
issues/238 add jnlp tunnel configuration #239
Conversation
@Override | ||
public ComputerLauncher getLauncher() { | ||
return new JNLPLauncher(); | ||
return new JNLPLauncher(tunnel, jvmOpts); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change here is not needed, real launcher is returned in method before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without this change tunnel is not there in slave-agent.jnlp endpoint
i guess it is because of this change in 2.83
jenkinsci/jenkins@257cc23
mb we need to update dependecy in pom to 2.83
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so for rendering options on jnlp url they use delegated launcher instead of root launcher now?
cloneJNLPlauncher.setJenkinsUrl(getJenkinsUrl()); | ||
cloneJNLPlauncher.setNoCertificateCheck(isNoCertificateCheck()); | ||
cloneJNLPlauncher.setNoReconnect(isNoReconnect()); | ||
|
||
return cloneJNLPlauncher; | ||
} | ||
|
||
public String getTunnel() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move getter after coressponding setter. Class organised in the next way: firstly field getters/setters, then overrides and additional methods
HI
I'm adding this PR for jnlp tunnels for jenkins installations running behind proxy, where jnlp port is exposed on another host and/or port.
refer to issues/238