The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

run python script - inline - sudo

delaforge
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2018

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Gonchik Tsymzhitov
Community Champion
April 11, 2018

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

TAGS
AUG Leaders

Atlassian Community Events