ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Environment:
      Bitbucket Branch Source Plugin, any version with only a Bitbucket Data Center endpoint registered
    • 937.4.0

       Steps to reproduce:
         1. Register only a Bitbucket Data Center endpoint in Manage Jenkins → Bitbucket Endpoints
         2. Create a new Multibranch Pipeline → Add Source → Bitbucket
         3. Observe the Server URL field shows a validation error immediately on page load before interacting with the form
        
         Expected: No validation error on a new form
        
         Actual: "Unregistered Server: https://bitbucket.org" (937.2.x) or "Server is required" (current master)
        
         Root cause: doCheckServerUrl fires on page load before doFillServerUrlItems completes. The field value is empty at that point, converted to null by @QueryParameter(fixEmpty = true). The null guard returned an error instead of deferring validation.                                

            Assignee:
            Sandeep
            Reporter:
            Sandeep
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: