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

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

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


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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 3 hours ago in Jira Service Desk

Frequently Asked Questions for Jira Service Desk (AKA JSD FAQ)

Just the FAQs! Welcome to the Community, and this Focused-FAQ! Here, we've pulled together some of the most frequently asked questions associated with Jira Service Desk (JSD). We hope ...

19 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you