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.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
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