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

Git Plugin allows removing the last repository entry on the config screen

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-plugin
    • docker image jenkinsci/jenkins:2.0-beta-1

      Red remove button should not be visible on required elements. See screenshot.

          [JENKINS-33956] Git Plugin allows removing the last repository entry on the config screen

          Keith Zantow added a comment - - edited

          I think this is also the behavior from 1.x, as it's a list of repositories. See:

          Keith Zantow added a comment - - edited I think this is also the behavior from 1.x, as it's a list of repositories. See:

          Daniel will investigate.

          Spike Washburn added a comment - Daniel will investigate.

          Daniel Beck added a comment -

          Looks like an issue with the Git Plugin. On 1.x, it simply has "Delete Repository" buttons that do the same.

          For comparison, Subversion Plugin removes that button when there's only one location, and Jenkins 2.0 handles this correctly.

          Daniel Beck added a comment - Looks like an issue with the Git Plugin. On 1.x, it simply has "Delete Repository" buttons that do the same. For comparison, Subversion Plugin removes that button when there's only one location, and Jenkins 2.0 handles this correctly.

          not specific 2.x but annoying ...

          Arnaud Héritier added a comment - not specific 2.x but annoying ...

          Mark Waite added a comment -

          Fixed in git plugin 2.5.1 and later

          Mark Waite added a comment - Fixed in git plugin 2.5.1 and later

            Unassigned Unassigned
            mslusarczyk Michal Slusarczyk
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: