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

Builds are failing when agent running as a service

Akhil Krishnan April 9, 2018

Hello Team,

 

I have a windows build agent which is configure to run maven builds. When I started running it as service , build are failing continuously with below error. 

 

Agent log on user is not Local System and ENV variables are correctly configured. Can someone help me to solve this issue.

 

PS: when agent is running as non service, builds are success.

bamboo_error.PNG 

2 answers

0 votes
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2018

Hi Akhil,

I believe the English translation to the error is this:

<cmd> is not recognized as an internal or external command

We see this problem often, and it's often related to the SYSTEM path not working when using the agent as a Windows Service which is outlined in the below knowledge base article:

 Hope that helps.

0 votes
robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2018

Hi Akhil,

The problem may need a thorough investigation. 

I would recommend opening a support ticket so that support engineers can help you.

Thanks,

Robhit

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events