External Command is not understood

Hi I am new to Bamboo and trying to evaluate the tool for the company.

I have a batch file executing a powershell. Inside the powershell script, I am calling out an external command (CCM.exe) which is a command line executable for IBM Synergy.

Bamboo doesn't understand ccm.exe and errors out.

When I run the batch file by itself, it works fine and it seems to me Bamboo is trying to run external executables inside the bamboo home directory.

I tried to add the global variable for the path and also tried with adding executables but all failed.

Similar issue that I have to fully specify the folder path to the powershell.exe otherwise, bamboo doesn't understand powershell.exe within the batch file.

how can I make bambo to run external exe without an issue

1 answer

1 accepted

Hi Bambi,

1. What type of Bamboo tasks are you using? Is it a Script task? Whatever command you try to run from a Script task, Bamboo will try to execute them from the current working direcotry (BambooHome/xml-data/build-dir/PROJ1-PLAN1-JOB1) of that plan. If you have set the correct Path environment variable for the user that runs your Bamboo instance, Bamboo will try to use that Path to find the executable(s).

2. Are you running your Bamboo as a Windows service? If yes, make sure to start it as a local admin account.

3. Try to print the Path variable from a Bamboo Script task (echo ${system.Path}) and see what Bamboo uses. You can also navigate to the Administration -> System Information page to see the list of environment variables.

Please let me know if you have any further questions or concerns.


Thank you Armen,

I will try it out. My team moved on to Jenkins but the company is evaluating the suite of Atlansian tools as the company wide tools (Jira, Cruicible, Confluence, etc), and Bamboo is on evaluation again. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

175 views 4 1
Join discussion

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