jenkinsci / jenkinsci/conditional-buildstep-plugin

[JENKINS-15445] DefaultBuilderDescriptorLister should not check buildstep class for @DataBoundConstructor

Open
#159 10 comments 0 reactions 0 assignees View on GitHub
component:conditional-buildstep-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
17
Forks
39
Avg merge
23h 17m
Merged PRs (30d)
1

Description

Some exotic build steps (cloudbees templates ones, that are dynamically generated) aren't created using @​DataBoundConstructor databinding, but by a custom newInstance implementation in constructor.

DefaultBuilderDescriptorLister is checking the buildStep for a @​DataBoundConstructor, for some unknown reason (I've searched the git history, but this whole code was added as a single commit), but shouldn't imho

---
Originally reported by ndeloof, imported from: DefaultBuilderDescriptorLister should not check buildstep class for @DataBoundConstructor


  • status: Reopened
  • priority: Major
  • component(s): conditional-buildstep-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 6
  • imported: 20260107-133739

Raw content of original issue

Some exotic build steps (cloudbees templates ones, that are dynamically generated) aren't created using @DataBoundConstructor databinding, but by a custom newInstance implementation in constructor.

DefaultBuilderDescriptorLister is checking the buildStep for a @DataBoundConstructor, for some unknown reason (I've searched the git history, but this whole code was added as a single commit), but shouldn't imho

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.