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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
    • Environment:
      docker image jenkinsci/jenkins:2.0-beta-1
    • Similar Issues:

      Description

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

        Attachments

          Activity

          Hide
          kzantow Keith Zantow added a comment - - edited

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

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

          Daniel will investigate.

          Show
          swashbuck1r Spike Washburn added a comment - Daniel will investigate.
          Hide
          danielbeck 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.

          Show
          danielbeck 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.
          Hide
          aheritier Arnaud Héritier added a comment -

          not specific 2.x but annoying ...

          Show
          aheritier Arnaud Héritier added a comment - not specific 2.x but annoying ...
          Hide
          markewaite Mark Waite added a comment -

          Fixed in git plugin 2.5.1 and later

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

            People

            • Assignee:
              Unassigned
              Reporter:
              mslusarczyk Michal Slusarczyk
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: