When in the ui forms of "Advanced clone behaviours" and "Advanced sub-modules behaviours" the "Shallow clone depth" field is left empty, after saving and reopening the job configuration, the field has a value of 0. This value is also persisted in the job configuration.
A reference (Integer) instead of primitive (int) type has to be used to support an absent value.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Assignee||René Scheibe [ renescheibe ]|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Fixed but Unreleased [ 10203 ]|
|Remote Link||This issue links to "jenkinsci/git-plugin#614 (Web Link)" [ 22335 ]|
|Status||Fixed but Unreleased [ 10203 ]||Closed [ 6 ]|