[JIRA] (JENKINS-59538) Introduce TcpSlaveAgentListener.getAdvertisedHost()

11 views
Skip to first unread message

Alexander.Link@sap.com (JIRA)

unread,
Sep 26, 2019, 4:16:02 AM9/26/19
to jenkinsc...@googlegroups.com
Alexander Link created an issue
 
Jenkins / Improvement JENKINS-59538
Introduce TcpSlaveAgentListener.getAdvertisedHost()
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2019-09-26 08:15
Environment: jenkins-2.197
Priority: Minor Minor
Reporter: Alexander Link

TcpSlaveAgentListener provides a method getAdvertisedPort() to get the advertised port, but does not have a method getAdvertisedHost() to get the host. Instead it has a field CLI_HOST_NAME _which is restricted to _NoExternalUse and therefore cannot be used from other plugins.

For the Kubernetes plugin we need to get this information and TcpSlaveAgentListener.getAdvertisedHost() would be the cleanest way.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

Alexander.Link@sap.com (JIRA)

unread,
Sep 26, 2019, 4:23:01 AM9/26/19
to jenkinsc...@googlegroups.com

Alexander.Link@sap.com (JIRA)

unread,
Sep 26, 2019, 11:05:02 AM9/26/19
to jenkinsc...@googlegroups.com
Alexander Link updated an issue
Change By: Alexander Link
_TcpSlaveAgentListener_ provides a method _getAdvertisedPort()_ to get the advertised port, but does not have a method _getAdvertisedHost()_ to get the host. Instead it has a field _CLI_HOST_NAME _which _CLI_HOST_NAME_ which is restricted to _NoExternalUse_ and therefore cannot be used from other plugins.

For the [Kubernetes plugin|https://github.com/jenkinsci/kubernetes-plugin/pull/602] we need to get this information and TcpSlaveAgentListener.getAdvertisedHost() would be the cleanest way.


Alexander.Link@sap.com (JIRA)

unread,
Oct 4, 2019, 4:16:02 AM10/4/19
to jenkinsc...@googlegroups.com

Alexander.Link@sap.com (JIRA)

unread,
Oct 4, 2019, 4:16:03 AM10/4/19
to jenkinsc...@googlegroups.com
Alexander Link resolved as Fixed
Change By: Alexander Link
Status: Open Resolved
Resolution: Fixed

Alexander.Link@sap.com (JIRA)

unread,
Oct 4, 2019, 4:17:02 AM10/4/19
to jenkinsc...@googlegroups.com

Alexander.Link@sap.com (JIRA)

unread,
Oct 4, 2019, 4:17:03 AM10/4/19
to jenkinsc...@googlegroups.com
Change By: Alexander Link
Status: Fixed but Unreleased Resolved
Released As: 2.198
Reply all
Reply to author
Forward
0 new messages