jenkinsci / jenkinsci/git-plugin
[JENKINS-31925] GitSCM default values not properly defined
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
For use with Workflow's Snippet Generator, GitSCM needs to use @DataBoundSetter on optional fields and ensure that the default value is equal to what an unconfigured config.jelly would set. Otherwise the user is offered unnecessary overrides such as extensions: [].
---
Originally reported by
jglick, imported from: GitSCM default values not properly defined
Raw content of original issue
For use with Workflow's Snippet Generator, GitSCM needs to use @DataBoundSetter on optional fields and ensure that the default value is equal to what an unconfigured config.jelly would set. Otherwise the user is offered unnecessary overrides such as extensions: [].
Contributor guide
Assessment
This issue has not been assessed yet.