Can two jenkins plugin that are extending RtcExtensionProvider can run in same build?
I have two plugins that are extending RtcExtensionProvider. Let's call plugin A and plugin B.
If I install only one of them into jenkins server, then it can work properly.
But if I install both of them into jenkins server, only one plugin can run, another plugin is disabled.
It's very werid when plugin A always run, and plugin B is always disabled, althought I changed installing order or plugins' name.
Does anyone face this issue before? Is this known issue or do I miss any configuration?
I'm using jenkins server version 2.176.1 and Team Concert plugin version 1.2.0.5
Accepted answer
TeamConcert plugin invokes only one instance of RTCExtensionProvider even when there are multiple plugins that extend RTCExtensionProvider. It gets the list of all RTCExtensionProvider plugins and invokes the very first plugin which returns true for "com.ibm.team.build.internal.hjplugin.extensions.RtcExtensionProvider.isApplicable(Run<?, ?>)".