Check if gitlab server name is unique

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The plugin will filter the gitlab servers based on unique names. I want to add a field in the GitLabServer DescriptorImpl to send a warning at runtime to enter a unqiue name. But descriptorImpl is static so I haven't been about to figure out how to check if the rest of the servers defined have a different name. Since DescriptorImpl is in static context, the field is compare with the it's own server object as well and raises an formvalidation error by default.

            Assignee:
            Parichay Barpanda
            Reporter:
            Parichay Barpanda
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: