Why Jenkins Location setting is used in jnlp setting?

61 views
Skip to first unread message

Hiroki Kondo

unread,
Mar 26, 2015, 10:57:18 PM3/26/15
to jenkins...@googlegroups.com
Hello,

I made a windows slave agent by JNLP connection.
My Jenkins master behinds apache.
Apache is configured as reverse proxy and ssl certification.

So I want to set "Jenkins Location" as Apache URL.
But the setting is used as remoting url parameter in jnlp.
Sometimes our agent can't connect because connect to Apache.

How should I do? Just set Jenkins Location to the master url?
I read "Jenkins Locaiton" is used in in email links.

# environment information

## master

version: 1.596.2
OS: Debian

## slave
OS:Windows Server 2008 R2

Best regards,

Hiroki

Stephen Connolly

unread,
Mar 27, 2015, 3:31:33 AM3/27/15
to jenkins...@googlegroups.com


On Friday, March 27, 2015, Hiroki Kondo <kom...@gmail.com> wrote:
Hello,

I made a windows slave agent by JNLP connection.
My Jenkins master behinds apache.
Apache is configured as reverse proxy and ssl certification.

So I want to set "Jenkins Location" as Apache URL.
But the setting is used as remoting url parameter in jnlp.
Sometimes our agent can't connect because connect to Apache.

You need to set a fixed JNLP port (configure security screen)

If Apache is on a different host then you will either need to forward the port to your main host (eg using haproxy's TCP mode) or start jenkins with the system propert that sets the header in the initial http request to tell jnlp to connect to this different host (I'm on a phone so I cannot recall the system property name)


How should I do? Just set Jenkins Location to the master url?
I read "Jenkins Locaiton" is used in in email links.

# environment information

## master

version: 1.596.2
OS: Debian

## slave
OS:Windows Server 2008 R2

Best regards,

Hiroki

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1714f0ac-325f-4efe-ad5d-09ebfd7b0c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages