Can we trigger .exe file from Bamboo?

 

1 answer

1 accepted

1 vote
Accepted answer

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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

73 views 3 3
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