Advanced: CasC Plugin – Groovy Scripting Extension
Required plugins
Configuration as Code Plugin - Groovy Scripting Extension
That's enough complaining! We're software engineers. Let's figure out how to use Configuration as Code Plugin – Groovy Scripting Extension (CasCP-GSE) to configure GHPRB.
Not required but still useful
As noted earlier, GHPRB has added full support for JCasC since the chapter was written, which means that CasCP-GSE is no longer required for configuring GHPRB. I have still kept this section because it demonstrates a way to configure a plugin using Groovy - this is a very useful skill to have because it can be applied to any plugins or any Jenkins configurations. In addition, it serves as a good introduction to learning about the internals of Jenkins for those who want to develop a custom plugin. The code and the development steps are still correct and would still configure GHPRB, so feel...