How to use a specific proxy on an agent with Git?

Issue

I’m using a different proxy on my Controller and my Agent.

Environment

Resolution

The Git Plugin does not support this specific use case.
It will always use the proxy information of the Controller to perform a checkout.
See JENKINS-31464 for more details.

You can still bypass the Controller proxy on an agent by deploying on each agent a .gitconfig file that will override the configuration from the Controller.

References

Have more questions?

0 Comments

Please sign in to leave a comment.