Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53050

Empty "depth" parameter for shallow cloning is not handled correctly

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                renescheibe René Scheibe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: