Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,074
Community Members
 
Community Events
168
Community Groups

How to run Python scripts from "Script Task"

Hi,

I'm new in Bamboo it's possible to add in task new interperer in "Script Task"

Default is possible to run cmd/shell/Windows power shell

2 answers

2 votes

It's not possible to add new interpreter, but since version 6.4 Bamboo detects shebang line inside script file and executes correct one. Version 6.4 will be released at the end of February

That's cool. Didn't know that was coming!

Until you move to 6.4, you might want to create a python script in the Bamboo agent (or server depending on where the build is going to run) and then execute the script from an inline shell/cmd script.

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events