-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 1.585; Chrome Browser; Windows 7
If a user deletes the last git item from the source code management options (i.e. "Delete Repository" or "Delete Branch") the user loses the ability to add a new git repository or branch (respectively) to the options without refreshing the page; this can make editing the configuration of a project tricky and, while not blocking, is certainly a usability issue. This does seem to be a problem with the git plugin.
I was able to duplicate this bug. Once the last repository is deleted (Jenkins 1.565.3, git plugin 2.2.7, git client plugin 1.11.0), no button is available to add a new repository.
Also, once the last repository is removed, the job cannot be saved. Jenkins displays a stack trace and "whoops" exception.
Once the last branch is removed, the job can be saved. The next edit of the job will show the default branch.