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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            René Scheibe
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: