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

Cannot use HTTP endpoint and custom port


      The Bitbucket plugin does not appear to retain custom port/protocol configurations for Bitbucket Server. Instead it always defaults back to HTTPS/port 443.

      I am trying to connect to an internally-exposed Kubernetes service endpoint http://bitbucket-svc:7990.

      I can connect to the endpoint at the Manage System configuration page and even when I'm creating my Jenkins pipeline job. However, when I try to build the project, I can see in the logs it's connecting via HTTPS.

      Steps to replicate:

      • Configure the Bitbucket server location to use the default Bitbucket HTTP port 7990.
      • Connect successfully from Manage System and pipeline job configuration
      • Click "Build Now" and observe the protocol/port the plugin tries to connect to

            Unassigned Unassigned
            jclem1030 James Clem
            0 Vote for this issue
            2 Start watching this issue