You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Is it possible with inline scripts to be able to use python? I know it does bash scripting just fine, didn't know if there was a plugin that could do inline python or not.
Just use:
/usr/bin/python <<EOF
print "Hello, World!"
EOF
as the inline script body.
Once again... you are amazing. Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Przemek Bruski thank you for your reply
I am still getting error when attempting an python script "inline". I know your response is straight forward but can you elaborate more on how to achieve a python script inline?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to execute a longer script and use the "Command" task with a Python executable in order to have the Python capability automatically added you can do the following:
cat <<EOF >script.py
print "Hello, World!"
EOF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then again, anything non trivial should probably go into a file anyway.
Definitely. You can backup your database. But any build scripts should always be part of your source repository, whenever possible. You don't want to do a lot of 'hidden magic' that exists only in Bamboo Tasks (or any other CI tool for that matter)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
python -c "print 'Hello, World!'"
Maybe not the best solution for a large amount of python code. Then again, anything non trivial should probably go into a file anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.