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

Check if gitlab server name is unique

XMLWordPrintable

    • GSoC 2019. Coding Phase 1

      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.

            baymac Parichay Barpanda
            baymac Parichay Barpanda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: