When using a Pre-send Script, jenkins reports the following stacktrace:
Oct 31, 2019 4:02:38 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error WARNING: Failed to instantiate Key[type=hudson.plugins.emailext.ExtendedEmailPublisherDescriptor, annotation=[none]]; skipping this component com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency, but it is not an interface. 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) ...
Steps to reproduce:
- git clone https://github.com/jenkinsci/email-ext-plugin.git
- cd email-ext-plugin/
- git checkout email-ext-2.68
- mvn hpi:run
- navigate via http://localhost:8080 to Manage Jenkins > Configure System
- enter "// " (without quotes) into the Default Pre-send Script text field.
- restart jenkins
Can confirm the issue, experiencing the same stacktrace with Jenkins 2.222, email-ext 2.69.
The problem only occurs when default pre-send script is non-empty.
slide_o_mix any updates on this issue?