How can i set HTTP_PROXY information on jobs from remote bamboo agent

Jeff Stein December 10, 2015

I have spun up a new bamboo agent and i'm behind a corporate proxy server.  I'm unable to figure out how to get the proxy info into bamboo.

I tried setting a BAMBOO VARIABLE but I don't think that's the correct approach.

 

I tried adding

wrapper.java.additional.3=Dhttp.proxyHost=HOST
wrapper.java.additional.3=Dhttp.proxyHost=HOST

but it doesn't seem to propagate to the jobs.

 

Any suggestions?

 

 

My work around has been to embed every task i want to do in a script that sets the proxy settings.

1 answer

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2015

Hello Jeff,

Thank you for your inquire.

Have you tried adding the property as "-Dhttp.proxyHost=HOST"?

-Dproperty=value

Sets a system property value. The property variable is a string with no spaces that represents the name of the property. The value variable is a string that represents the value of the property. If value is a string with spaces, then enclose it in quotation marks (for example -Dfoo="foo bar").

Please, refer to https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support


Jeff Stein December 11, 2015

Are you talking about on the environment line for a Command Task or somewhere else?

rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2015

wrapper.java.additional.3=-Dhttp.proxyHost=HOST

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events