Reputation: 2412
I have the following setup:
Jenkins -> Ant script -> Python script -> Interact with Selenium
I run Jenkins on a windows box. My Jenkins calls an Ant script which calls a python script which interacts with Selenium. The problem I have is that the http_proxy
environment variable is defined and points to a proxy, that is intented to access the internet and not my system under test. When I run my Jenkins job I get a error message from the proxy along the lines that he could not access my system under test.
How can I disable the http_proxy
in Jenkins so that it won't pass them to Ant -> Python -> Selenium?
Upvotes: 2
Views: 4171
Reputation: 11045
Maybe try setting the variable in the jenkins settings page (override the default), or in the job (as a parameter). Both options will override any existing value on the system. Is this what you need?
Upvotes: 0
Reputation: 16615
Use EnvInject plugin to reset the variable in a build step before you run ANT.
Upvotes: 2