[JIRA] (JENKINS-48835) Testing a connection results in "The item does not exist"

3 views
Skip to first unread message

filip@reiimer.se (JIRA)

unread,
Apr 13, 2018, 5:15:02 AM4/13/18
to jenkinsc...@googlegroups.com
Filip Reimer commented on Bug JENKINS-48835
 
Re: Testing a connection results in "The item does not exist"

The same behavior is seen if the URL entered ends with /, the url towards the API gets transformed to /v1/job_templates/ instead of /api/v1/job_templates/.

Simply changing the URL from https://towerserver.something.com/ to https://towerserver.something.com fixes this issue.

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

john.westcott.iv@redhat.com (JIRA)

unread,
Apr 13, 2018, 10:08:02 AM4/13/18
to jenkinsc...@googlegroups.com

Filip Reimer you are correct about the API transforming the urls to end with a /. In Jenkins, when you add a / to the end of the URL Jenkins ends up making calls to Tower like https://<server>//api/v2/ping (note the double slash at the start of the path in the URL. This is why the test fails with the message "The item does not exist". I just released an 0.8.3 version of the plugin which will string the ending / of the URL so the plugin should now work with a url of  https://towerserver.something.com/ or https://towerserver.something.com. It normally takes a couple hours for the new version of the plugin to propagate. If you get a chance can you test this change and let me know if its now working either way for you?

 

Alexandr Suprunevich can you test the 0.8.3 version of the plugin and let me know if this change now remediates the issue you were having?

john.westcott.iv@redhat.com (JIRA)

unread,
Jan 8, 2020, 9:57:04 AM1/8/20
to jenkinsc...@googlegroups.com
John Westcott resolved as Fixed
 
Jenkins / Bug JENKINS-48835
Change By: John Westcott
Status: Open Resolved
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

john.westcott.iv@redhat.com (JIRA)

unread,
Jan 8, 2020, 9:57:05 AM1/8/20
to jenkinsc...@googlegroups.com
John Westcott closed an issue as Fixed
Change By: John Westcott
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages