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,369,237
Community Members
 
Community Events
168
Community Groups

run python script - inline - sudo

Hi, 

How can I execute a script using an inline command "sudo python name_script.py"?

Thank you in advance for your help.

Regards

1 answer

0 votes

Hi! 

 

Could you clarify your use case? 

May be better """ sudo python ${bamboo.agentWorkingDirectory}/name_script.py """

https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html

 

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events