[JIRA] (JENKINS-60202) Error when --Jenkins-update-manager value has trailing slash

20 views
Skip to first unread message

leemeador@java.net (JIRA)

unread,
Nov 18, 2019, 12:37:02 PM11/18/19
to jenkinsc...@googlegroups.com
leemeador created an issue
 
Jenkins / Improvement JENKINS-60202
Error when --Jenkins-update-manager value has trailing slash
Issue Type: Improvement Improvement
Assignee: Natasha Stopa
Components: plugin-installation-manager-tool
Created: 2019-11-18 17:36
Labels: plugin-manager
Priority: Minor Minor
Reporter: leemeador

Command line like this:

    java -jar jenkins-plugin-manager-1.0.1.jar -f plugins.txt --verbose --plugin-download-directory ~/plugins --no-download --list --war /usr/lib/jenkins/jenkins.war --jenkins-update-center https://jenkins-updates.cloudbees.com/

fails with stack trace containing

    java.io.FileNotFoundException: https://jenkins-updates.cloudbees.com//update-center.json

Remove the trailing slash from the desired update center and it accepts the supplied update center. (This is the workaround)

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

natasha.stopa@gmail.com (JIRA)

unread,
Nov 19, 2019, 2:02:04 PM11/19/19
to jenkinsc...@googlegroups.com
Natasha Stopa updated an issue
Change By: Natasha Stopa
Labels: newbie-friendly plugin-manager

natasha.stopa@gmail.com (JIRA)

unread,
Nov 19, 2019, 2:12:02 PM11/19/19
to jenkinsc...@googlegroups.com

freemwil@dickinson.edu (JIRA)

unread,
Dec 15, 2019, 12:42:02 PM12/15/19
to jenkinsc...@googlegroups.com

freemwil@dickinson.edu (JIRA)

unread,
Dec 15, 2019, 12:42:02 PM12/15/19
to jenkinsc...@googlegroups.com

freemwil@dickinson.edu (JIRA)

unread,
Jan 24, 2020, 1:46:02 PM1/24/20
to jenkinsc...@googlegroups.com
Will Freeman commented on Improvement JENKINS-60202
 
Re: Error when --Jenkins-update-manager value has trailing slash

If you are still encountering this error, could you post the full stack trace as well as the plugins.txt file you are using?

freemwil@dickinson.edu (JIRA)

unread,
Jan 24, 2020, 1:47:02 PM1/24/20
to jenkinsc...@googlegroups.com
Will Freeman edited a comment on Improvement JENKINS-60202
If you are still encountering this error, could you post the full stack trace as well as the plugins.txt file you are using?   Thanks.

freemwil@dickinson.edu (JIRA)

unread,
Jan 24, 2020, 2:15:03 PM1/24/20
to jenkinsc...@googlegroups.com
Will Freeman edited a comment on Improvement JENKINS-60202
If you are still encountering this error, could you post the full stack trace as well as the plugins.txt file you are using?  Thanks.


 

Edit:  based on minimal testing, it looks like it might be a a specific issue with the jenkins-updates.cloudbees.com update center.  Using another update center, with and without a trailing slash, doesn't seem to recreate the error.  

slide.o.mix@gmail.com (JIRA)

unread,
Jan 31, 2020, 2:44:03 PM1/31/20
to jenkinsc...@googlegroups.com

There are some changes to this in 1.0.2 I believe, have you tried with that?

freemwil@dickinson.edu (JIRA)

unread,
Jan 31, 2020, 3:28:04 PM1/31/20
to jenkinsc...@googlegroups.com

Looks like the issue is fixed in the 1.0.2 release.  Thanks. 

freemwil@dickinson.edu (JIRA)

unread,
Jan 31, 2020, 3:32:03 PM1/31/20
to jenkinsc...@googlegroups.com
Will Freeman updated Improvement JENKINS-60202
 

Release 1.0.2 changes the way that update center URLs are handled and this issue no longer persists. 

freemwil@dickinson.edu (JIRA)

unread,
Jan 31, 2020, 3:33:03 PM1/31/20
to jenkinsc...@googlegroups.com
 

Issue no longer persist as URLs are handled differently and trailing slash is no longer an issue.  

Change By: Will Freeman
Status: Fixed but Unreleased Closed

freemwil@dickinson.edu (JIRA)

unread,
Jan 31, 2020, 3:33:04 PM1/31/20
to jenkinsc...@googlegroups.com
Will Freeman updated an issue
Change By: Will Freeman
Comment:
Release 1.0.2 changes the way that update center URLs are handled and this issue no longer persists. 
Reply all
Reply to author
Forward
0 new messages