Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to run Python scripts from "Script Task"

Jacobo1 February 6, 2018

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
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2018

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

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2018

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

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2018

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
AUG Leaders

Atlassian Community Events