It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Jeff Stein Dec 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
Rafael Sperafico Atlassian Team Dec 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 Dec 11, 2015

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

Rafael Sperafico Atlassian Team Dec 11, 2015

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

66 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you