Can we trigger .exe file from Bamboo?


1 answer

1 accepted

1 vote

This is possible with the Bamboo Script task, which allows you to use Bash on Linux, and batch files on Windows - accordingly, you just need to call the .exe file from a batch file turn, or even simpler, just select the location of the script file as Inline and specify the .exe file right there:

  • File — enter the location of the file in the Script file field. This can be either relative to the repository root of the plan, or absolute. You can include variables (see Bamboo variables).
  • Inline — enter the script in the Script body field.

Instead of using an old fashioned Windows batch file, you can meanwhile also run this as a Windows PowerShell script btw.:

(Optional, Windows only) Check the 'Run as Powershell script' checkbox to run the script with Powershell instead of cmd.exe which interprets .bat files. The inline editor supports Powershell syntax.

  • While the built-in Bamboo PowerShell support usually works just fine for simpler scripts (and certainly for the use case at hand), Stellarity also offers a more advanced PowerShell task in the Marketplace, which provides syntax highlighting for example.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,802 views 0 6
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