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
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
I have configured a task as check out source code from Bit-Bucket and it is working fine.
As per some comments I can see the below lines is working fine.
print "Hello, World!"
I an trying to run my python file from the check out source code.
As per the documentation got the current working directory from the below code,
Got the result :
and My repository path is
Added an script task and given the below as inline comments,
But, failed to execute. Please see the below error message.
python: can't open file '/opt/atlassian/atlassian-bamboo-home-6.4.1/xml-data/build-dir/XXXXSCRIP-XXXXSCRIP-JOB1/ProjectName/app.py': [Errno 2] No such file or directory
How do I solve this issue.
That type of error can have two main causes:
How to mitigate them?
If not of those options are the case, try to navigate to the working directory from the terminal and check if you can run the script using the exact same command Bamboo is using.
Let me know how it goes.