Issue Type: Bug Bug
Assignee: Unassigned
Attachments: fix_proxy-1.4.1.patch
Components: bitbucket-pullrequest-builder-plugin
Created: 26/Nov/14 12:50 PM
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

Environment: Jenkins 1.590, bitbcuket-pullrequest-builder-plugin 1.4.1
Project: Jenkins
Priority: Minor Minor
Reporter: Angel López Cima
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to