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

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

Builds are failing when agent running as a service

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.


2 answers

0 votes
robhit Atlassian Team Apr 09, 2018

Hi Akhil,

The problem may need a thorough investigation. 

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



0 votes
Jeyanthan I Atlassian Team Apr 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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

63 views 0 6
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