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 2 months ago

strangelookingnerd commented 2 months 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 2 months ago

@MarkEWaite Could you validate your setup with the incremental?