java.io.IOException: Failed to load: Warnings Next Generation Plugin (8.5.0-SNAPSHOT (private-2e85864e-ubuntu)) master49529| - Plugin is missing: forensics-api (0.8.0-rc587.65fc61fe9be2)
Yes, I had that problem a couple of weeks ago. One of my dependencies upgraded its Jenkins version to a higher version than the version I was using in my UI tests: that broke my build.
Am 28.08.2020 um 07:52 schrieb Daniel Beck <db...@cloudbees.com>:On Thu, Aug 27, 2020 at 11:22 PM Ullrich Hafner <ullrich...@gmail.com> wrote:
Yes, I had that problem a couple of weeks ago. One of my dependencies upgraded its Jenkins version to a higher version than the version I was using in my UI tests: that broke my build.Do you still have the failing build log, or know when exactly this happened?There was a bug with the update center tiers I introduced a few months ago that made the tiers not work quite correctly ( https://github.com/jenkins-infra/update-center2/pull/406 ) but I fixed that four weeks ago, so for that time it should have been working without problems.
Otherwise, the ATH (WithPlugins) should download plugins using the plugin manager, and that should only install compatible dependencies.
Am 28.08.2020 um 17:21 schrieb Jesse Glick <jgl...@cloudbees.com>:On Thu, Aug 27, 2020 at 5:22 PM Ullrich Hafner <ullrich...@gmail.com> wrote:Do we have something existing that can extract the list of dependencies for a plugin…
I think it would suffice to inject a new implementation of
`UpdateCenterMetadataDecorator` using
`PluginMetadata.LocalOverride.create` based on
`target/{,test-classes/test-dependencies/}*.hpi`. Or simply use the
existing implementation and define the environment variable
`LOCAL_JARS` in your launcher script.
<environmentVariables>
<PLUGINS_DIR>../plugin/target/test-classes/test-dependencies</PLUGINS_DIR>
<JENKINS_VERSION>${jenkins.version}</JENKINS_VERSION>
<BROWSER>firefox-container</BROWSER>
</environmentVariables>
Plugins not mentioned in this list will still be retrieved according
to versions in the online UC (though by default using Maven to
retrieve local copies of the actual binaries). You could inject an
alternate `UpdateCenterMetadataProvider` to completely override that,
so that only dependencies in the test classpath are offered; this
would match the behavior of `JenkinsRule` (other than when annotated
by `@WithPlugin`).
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr32vCiP5eJdqpq%2BUc1dATxmf%3DzBRBZkGLx%3Dt3%3DwvdpAKg%40mail.gmail.com.