[JIRA] (JENKINS-51291) 'new view' wrong url - not relative

0 views
Skip to first unread message

headhood20@gmail.com (JIRA)

unread,
May 14, 2018, 5:51:02 AM5/14/18
to jenkinsc...@googlegroups.com
Kirill Kamaldinov created an issue
 
Jenkins / Bug JENKINS-51291
'new view' wrong url - not relative
Issue Type: Bug Bug
Assignee: Oleg Nenashev
Attachments: jenkins.PNG
Components: _unsorted
Created: 2018-05-14 09:50
Environment: Jenkins version: 2.121
Priority: Minor Minor
Reporter: Kirill Kamaldinov

Hi,

My jenkins is behind proxy server  [ngnix] and for node connection [with .jar agent] i had to configure the direct servers url and not the proxy's one as my ngninx cannot transfer none http/s connection and it's unnecessary. 

now, when i want to create a new view [by pressing on 'new view' on the left bar at the home page] it takes me to jenkins's server url and not the proxy's.

it's now: -http://jenkins-server:8080/jenkins/newView

and should be: https://gateway.com/jenkins/newView

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
May 14, 2018, 7:00:02 AM5/14/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: core
Component/s: _unsorted

o.v.nenashev@gmail.com (JIRA)

unread,
May 14, 2018, 7:01:01 AM5/14/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-51291
 
Re: 'new view' wrong url - not relative

Do you Have Jenkins Roor URL configured correctly in the global configuration?

o.v.nenashev@gmail.com (JIRA)

unread,
May 14, 2018, 7:01:01 AM5/14/18
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Unassigned
 
Change By: Oleg Nenashev
Assignee: Oleg Nenashev

headhood20@gmail.com (JIRA)

unread,
May 14, 2018, 7:05:01 AM5/14/18
to jenkinsc...@googlegroups.com
Kirill Kamaldinov commented on Bug JENKINS-51291
 
Re: 'new view' wrong url - not relative

My root URL configured to server's URL not proxy's and that's because if I configure it to proxy's , than I couldn't connect windows nodes with jar agents as they will try to connect via proxy and my proxy unable to proxy such connections

o.v.nenashev@gmail.com (JIRA)

unread,
May 14, 2018, 7:18:02 AM5/14/18
to jenkinsc...@googlegroups.com
Oleg Nenashev resolved as Not A Defect
 

Then it behaves as designed.

If you want agent connections to bypass the proxy and connect directly, use the "hudson.TcpSlaveAgentListener.hostName" system property on master. It will expose proper metadata to connecting agents so that they will go directly to the host instead of the default URL>

Change By: Oleg Nenashev
Status: Open Resolved
Resolution: Not A Defect

headhood20@gmail.com (JIRA)

unread,
May 14, 2018, 8:16:01 AM5/14/18
to jenkinsc...@googlegroups.com
 
Re: 'new view' wrong url - not relative

I got you. But I reported a bug because only new view link is not relative.. All of the others are relative and works well

o.v.nenashev@gmail.com (JIRA)

unread,
May 14, 2018, 8:24:02 AM5/14/18
to jenkinsc...@googlegroups.com
Oleg Nenashev reopened an issue
 

OK, I am happy to reopen it for further triage. There were related patches in the recent versions

Change By: Oleg Nenashev
Resolution: Not A Defect
Status: Resolved Reopened

dbeck@cloudbees.com (JIRA)

unread,
Jun 8, 2018, 10:07:01 AM6/8/18
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
Labels: newbie-friendly

wfollonier@cloudbees.com (JIRA)

unread,
Apr 8, 2019, 8:45:01 AM4/8/19
to jenkinsc...@googlegroups.com
Wadeck Follonier assigned an issue to Wadeck Follonier
Change By: Wadeck Follonier
Assignee: Wadeck Follonier
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

wfollonier@cloudbees.com (JIRA)

unread,
Apr 8, 2019, 8:45:01 AM4/8/19
to jenkinsc...@googlegroups.com
Wadeck Follonier started work on Bug JENKINS-51291
 
Change By: Wadeck Follonier
Status: Reopened In Progress

wfollonier@cloudbees.com (JIRA)

unread,
Apr 8, 2019, 8:46:01 AM4/8/19
to jenkinsc...@googlegroups.com
Wadeck Follonier commented on Bug JENKINS-51291
 
Re: 'new view' wrong url - not relative

I think the linked PR will correct your problem The link was absolute, using the rootUrl and now it will use the internal feature of relative link for actions.

wfollonier@cloudbees.com (JIRA)

unread,
Apr 8, 2019, 9:00:03 AM4/8/19
to jenkinsc...@googlegroups.com
Wadeck Follonier updated an issue
 
Change By: Wadeck Follonier
Labels: newbie-friendly view

o.v.nenashev@gmail.com (JIRA)

unread,
May 6, 2019, 10:33:02 AM5/6/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
May 6, 2019, 10:34:02 AM5/6/19
to jenkinsc...@googlegroups.com

Erutan409@Hotmail.com (JIRA)

unread,
May 30, 2019, 1:03:03 PM5/30/19
to jenkinsc...@googlegroups.com

Can confirm this is still an issue and my environment is configured similar to original reporter.

wfollonier@cloudbees.com (JIRA)

unread,
Oct 10, 2019, 4:47:03 AM10/10/19
to jenkinsc...@googlegroups.com
Wadeck Follonier assigned an issue to Unassigned
 
Change By: Wadeck Follonier
Assignee: Wadeck Follonier
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

wfollonier@cloudbees.com (JIRA)

unread,
Oct 10, 2019, 4:47:04 AM10/10/19
to jenkinsc...@googlegroups.com
Wadeck Follonier commented on Bug JENKINS-51291
 
Re: 'new view' wrong url - not relative

Initial PR closed. Another approach seems to be required.

wfollonier@cloudbees.com (JIRA)

unread,
Oct 10, 2019, 4:47:04 AM10/10/19
to jenkinsc...@googlegroups.com
Wadeck Follonier stopped work on Bug JENKINS-51291
 
Change By: Wadeck Follonier
Status: In Progress Open

iliazasimov@gmail.com (JIRA)

unread,
Oct 21, 2019, 10:24:03 AM10/21/19
to jenkinsc...@googlegroups.com
Ilia Zasimov started work on Bug JENKINS-51291
 
Change By: Ilia Zasimov
Status: Open In Progress

iliazasimov@gmail.com (JIRA)

unread,
Oct 21, 2019, 10:24:07 AM10/21/19
to jenkinsc...@googlegroups.com
Ilia Zasimov assigned an issue to Ilia Zasimov
 
Change By: Ilia Zasimov
Assignee: Ilia Zasimov

jglick@cloudbees.com (JIRA)

unread,
Jan 13, 2020, 9:06:02 AM1/13/20
to jenkinsc...@googlegroups.com
Jesse Glick updated an issue
Change By: Jesse Glick
Labels: folders newbie-friendly view

jglick@cloudbees.com (JIRA)

unread,
Jan 13, 2020, 9:07:04 AM1/13/20
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-51291
 
Re: 'new view' wrong url - not relative

JENKINS-48447 broke usage in folders: inside a folder, the New View link actually creates a view at the Jenkins root.

Reply all
Reply to author
Forward
0 new messages