-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.263.4
Gerrit Trigger 2.32.0
I'm using a script similar to https://github.com/jenkinsci/configuration-as-code-groovy-plugin/blob/master/demos/gerrit-trigger.yml to configure Gerrit servers in Jenkins.
Apparently, this script no longer works with Gerrit Trigger plugin >= 2.31.0.
Running the following in the Jenkins script console prints "null":
import com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl
println(Jenkins.instance.pluginManager.getPlugin(PluginImpl.class))
After downgrading to 2.30.5, I'm getting a non-null result and the script mentioned above works.