-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the usage of proxies which require authentication (#140)
If the configured HTTP proxy requires basic authentication then the Username and Password which are configured on the "Advanced" section in "Manage Plugins" section are not used to route traffic. This leads to HTTP 407 error when trying to connect to the Github or enterprise Git domain. This commit ensures that if the username and proxy are configured for the currently configured HTTP_PROXY that these are also used. The solution has been manually tested, but no unit tests have been provided. This commit fixes [JENKINS-67383] Co-authored-by: Vanio Begic <[email protected]>
- Loading branch information
1 parent
7a40a04
commit 7e014c9
Showing
1 changed file
with
41 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters