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

Bitbucket Pull Request Builder plugin does not work behind a proxy

    Details

    • Similar Issues:

      Description

      Bitbucket Pull Request Builder plugin can not connect to bitbucket.org if the Jenkins is behind a proxy.
      I attached a patch that solves this bug. This solution uses the http client SystemDefaultHttpClient in the org.apache.httpcomponents:httpclient instead of using the HttpClient in commons-http library. This class use the system properties to configure a proxy as described in https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html.
      Another solution is the get the Jenkins' proxy configuration: jenkins.model.Jenkins.getInstance().proxy

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              nishio_dens Shinsuke Nishio
              Reporter:
              anloci Angel López Cima
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: