Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxy support to Jenkins client #1755

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

osoriano
Copy link
Contributor

Summary

Add the following new properties to the JenkinsFactory configuration:

  • useProxy
  • httpProxyAddr
  • httpProxyPort

These properties will be used in the HttpClient in the Jenkins class
in order to support Jenkins calls through a proxy.

Testing Done

  • Add unit tests which verify the proxy is used and Host header is
    sent
  • Will deploy to nonprod environment

Cleans up some unused methods
Add the following new properties to the `JenkinsFactory` configuration:
* `useProxy`
* `httpProxyAddr`
* `httpProxyPort`

These properties will be used in the `HttpClient` in the `Jenkins` class
in order to support Jenkins calls through a proxy.

Testing done:
* Add unit tests which verify the proxy is used and `Host` header is
  sent
* Will deploy to nonprod environment
@osoriano osoriano requested a review from a team as a code owner November 20, 2024 16:39
@github-actions github-actions bot added the deploy-service Includes changes to deploy-service label Nov 20, 2024
Copy link
Contributor

@tylerwowen tylerwowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@osoriano osoriano merged commit 61b650e into pinterest:master Nov 26, 2024
6 checks passed
@osoriano osoriano deleted the jenkins-proxy-support branch November 26, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-service Includes changes to deploy-service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants