jenkinsci / badge-plugin

Jenkins Badge plugin
https://plugins.jenkins.io/badge/
MIT License
32 stars 43 forks source link

Allow fields to be optional in declarative pipeline #188

Closed strangelookingnerd closed 1 month ago

strangelookingnerd commented 1 month ago

See #187

Added @DataBoundConstructor and @DataBoundSetter as appropriate to allow fields to be optional.

Testing done

Manually tested with declarative pipeline and also added new tests for it.

Submitter checklist

strangelookingnerd commented 1 month ago

@MarkEWaite Could you validate your setup with the incremental?