-
Bug
-
Resolution: Fixed
-
Minor
-
git-4.0.0-beta3
Problem
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.
Solution
A reference (Integer) instead of primitive (int) type has to be used to support an absent value.
- links to
[JENKINS-53050] Empty "depth" parameter for shallow cloning is not handled correctly
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: René Scheibe [ renescheibe ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Fixed but Unreleased [ 10203 ] |
Remote Link | New: This issue links to "jenkinsci/git-plugin#614 (Web Link)" [ 22335 ] |
Comment | [ resolved with https://github.com/jenkinsci/git-plugin/pull/614 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Closed [ 6 ] |
Included in git plugin 4.0.0 released Nov 2, 2019