Can we trigger .exe file from Bamboo?


1 answer

1 accepted

This widget could not be displayed.

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 yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

76 views 0 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