Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: gitlab-branch-source-plugin, gitlab-plugin
-
Labels:
-
Similar Issues:
-
Sprint:GSoC 2019. Coding Phase 1
Description
In some cases, user might not require to supply credentials or maybe the credentials listbox is empty. So in that case, credentialsId listbox should display an empty value.
This was fixed by chaining a method to the StandardListBox object returned from the `doFillCredentialsIdItems` method.
The ListBox returned is:
new StandardListBoxModel()
.includeEmptyValue()
.includeMatchingAs(...)
This was inspired from GitHub Plugin. Can also be implemented in Gitea Plugin.