Skip to content

feat: mark extensions as dynamically loadable#121

Open
rahulsom wants to merge 1 commit intomasterfrom
dynamic-loadable
Open

feat: mark extensions as dynamically loadable#121
rahulsom wants to merge 1 commit intomasterfrom
dynamic-loadable

Conversation

@rahulsom
Copy link
Contributor

Summary

  • Set dynamicLoadable = YesNoMaybe.YES on both @Extension annotations (CCTrayXmlActionFactory and CCTrayXmlPageDecorator)

Why

Without an explicit dynamicLoadable value, Jenkins defaults to MAYBE, which prompts users to choose between restarting Jenkins or dynamically loading the plugin during installation. Since both extensions are stateless and have no complex initialization, they are safe for dynamic loading. Setting YES lets Jenkins hot-load the plugin without prompting, improving the installation experience.

Test plan

  • mvn verify passes

Both extensions in this plugin are stateless and safe for dynamic
loading. Setting dynamicLoadable to YES allows Jenkins to hot-load
the plugin without prompting the user to restart, improving the
plugin installation experience.
@rahulsom rahulsom requested a review from a team as a code owner March 13, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant