[JIRA] (JENKINS-53050) Empty "depth" parameter for shallow cloning is not handled correctly

2 views
Skip to first unread message

rene.scheibe@gmail.com (JIRA)

unread,
Aug 15, 2018, 10:15:01 AM8/15/18
to jenkinsc...@googlegroups.com
René Scheibe created an issue
 
Jenkins / Bug JENKINS-53050
Empty "depth" parameter for shallow cloning is not handled correctly
Issue Type: Bug Bug
Assignee: René Scheibe
Components: git-plugin
Created: 2018-08-15 14:14
Environment: git-4.0.0-beta3
Labels: git form-data persistence
Priority: Minor Minor
Reporter: René Scheibe

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

rene.scheibe@gmail.com (JIRA)

unread,
Aug 15, 2018, 10:15:01 AM8/15/18
to jenkinsc...@googlegroups.com
René Scheibe started work on Bug JENKINS-53050
 
Change By: René Scheibe
Status: Open In Progress

rene.scheibe@gmail.com (JIRA)

unread,
Sep 3, 2018, 1:49:02 AM9/3/18
to jenkinsc...@googlegroups.com
Change By: René Scheibe
Status: In Progress Fixed but Unreleased
Assignee: René Scheibe
Resolution: Fixed
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

rene.scheibe@gmail.com (JIRA)

unread,
Feb 1, 2019, 1:03:01 AM2/1/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Nov 2, 2019, 8:49:04 AM11/2/19
to jenkinsc...@googlegroups.com
Mark Waite updated Bug JENKINS-53050
 

Included in git plugin 4.0.0 released Nov 2, 2019

Change By: Mark Waite
Status: Fixed but Unreleased Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages