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,295,079
Community Members
 
Community Events
165
Community Groups

Running python Scripts on Bamboo

How can i run python scripts on Bamboo. Can i run an inline script task or should i have to run the script through an external file.

1 comment

You can run scripts either inline by pasting the script on the Script task UI or you can use an external file as you wish.

Make sure to add the traditional #!/usr/bin/python shebang (or equivalent path) to each script.

Eduardo Alvarenga
Atlassian Support APAC

Thanks for the information. If possible, Could you please elaborate as i am new to bamboo:

How can I use external files ?
How to add #!/usr/bin/python ?

in the script task, how can i get the python packages installed with simple example.

Hello @Yaswanth Attuluri

Please check the Script task documentation for more information.

Regards,

Eduardo Alvarenga
Atlassian Support APAC

Comment

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

942 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you