You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to run the tool on a plugin that declares an optional dependency that is not in this Update Center, eg in our case operations-center-context:2.249.0.3 (make sure to specify the version so that the resolution is done from the MANIFEST of the hpi).
Results
Expected result:
Success
Actual result:
Failure because the optional plugin cannot be downloaded:
Plugin operations-center-context:2.249.0.3 unable to find dependant plugin cloudbees-template in update center https://jenkins-updates.cloudbees.com/update-center/envelope-core-oc/update-center.json?version=2.249.3.1/update-center.json
at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:200)
at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:149)
at io.jenkins.tools.pluginmanager.cli.Main.main(Main.java:70)
Suppressed: io.jenkins.tools.pluginmanager.impl.PluginNotFoundException: Plugin operations-center-sso:2.249.0.2 (via operations-center-context:2.249.0.3) unable to find dependant plugin cloudbees-template in update center https://jenkins-updates.cloudbees.com/update-center/envelope-core-oc/update-center.json?version=2.249.3.1/update-center.json
at io.jenkins.tools.pluginmanager.impl.PluginManager.getLatestPluginVersion(PluginManager.java:848)
at io.jenkins.tools.pluginmanager.impl.PluginManager.resolveDependenciesFromManifest(PluginManager.java:910)
at io.jenkins.tools.pluginmanager.impl.PluginManager.resolveDirectDependencies(PluginManager.java:1013)
at io.jenkins.tools.pluginmanager.impl.PluginManager.resolveRecursiveDependencies(PluginManager.java:1047)
at io.jenkins.tools.pluginmanager.impl.PluginManager.findPluginsAndDependencies(PluginManager.java:627)
at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:192)
... 2 more
The text was updated successfully, but these errors were encountered:
Version report
Jenkins and plugins versions report:
(FWIW version doesn't matter)
Reproduction steps
You will need an Update Center referencing a plugin that declares an optional plugin that is not in said Update Center.
For reproduction purposes, let's use this CloudBees Update Center: https://jenkins-updates.cloudbees.com/update-center/envelope-core-oc/update-center.json?version=2.249.3.1/update-center.json
Try to run the tool on a plugin that declares an optional dependency that is not in this Update Center, eg in our case
operations-center-context:2.249.0.3
(make sure to specify the version so that the resolution is done from the MANIFEST of the hpi).Results
Expected result:
Success
Actual result:
Failure because the optional plugin cannot be downloaded:
The text was updated successfully, but these errors were encountered: