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)
- links to
[JENKINS-60202] Error when --Jenkins-update-manager value has trailing slash
Labels | Original: plugin-manager | New: newbie-friendly plugin-manager |
Assignee | Original: Natasha Stopa [ stopalopa ] | New: leemeador [ leemeador ] |
Remote Link | New: This issue links to "PR (Web Link)" [ 24013 ] |
Assignee | Original: leemeador [ leemeador ] | New: Will Freeman [ freemwil ] |
Assignee | Original: Will Freeman [ freemwil ] | New: leemeador [ leemeador ] |
Released As | New: https://github.com/jenkinsci/plugin-installation-manager-tool/releases/tag/plugin-management-parent-pom-1.0.2 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Closed [ 6 ] |
Comment | [ Release 1.0.2 changes the way that update center URLs are handled and this issue no longer persists. ] |