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

URL validation breaks when inside private LAN

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      v2.4.3

      Description

      You don't need a valid FQDN inside private Lan networks.

      E.g. because we have everything locally available and locked out from the outside our Jenkins address is "jenkins" and it is perfectly valid for Bitbucket server API. 

      You are checking for the existence of a . (dot) to verify the URL and it is breaking our process since it isn't publishing the build status.

      The following error appears:

      Can not determine Jenkins root URL or Jenkins URL is not a valid URL regarding Bitbucket API. Commit status notifications are disabled until a root URL is configured in Jenkins global configuration.

      We traced down the error and created our own version of the plugin editing the method "checkURL" from the BitbucketBuildStatusNotifications.java file which does not make the dot check and it works perfectly.

      Please take a look at this as it is blocking us from future updates of this plugin. 

       

        Attachments

          Activity

          Hide
          casz Joseph Petersen (old) added a comment -

          Hi hugo fonseca feel free to test out v2.4.3 should cover your use case

          Show
          casz Joseph Petersen (old) added a comment - Hi hugo fonseca feel free to test out v2.4.3 should cover your use case

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            fonsecas72 hugo fonseca
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: