Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to fix No agent can build this job issue when running bamboo server behind Nginx reverse proxy?

Elson Lim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2020

I have a bamboo server running behind Nginx reverse proxy and try to host get my build run in an elastic agent. The again is spinning up but shows "No agent can build this job." in the build. 

 

Chance upon https://confluence.atlassian.com/bamkb/how-to-bypass-the-server-proxy-on-remote-agent-connection-939925341.html. and it mention putting 

-Dbamboo.ec2.agent.endpoint=http://localhost:8085

in "setenv.sh" but is unclear where in setenv.sh should I put this line. 

1 answer

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2020

Hi Elson,

welcome to Atlassian Community!

As per knowledge base the right position to place "-Dbamboo.ec2.agent.endpoint=http://localhost:8085" is in setenv.sh in section JVM_SUPPORT_RECOMMENDED_ARGS=

Please kindly check if this helps in your case.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events