I have plan with two task.
One is check-out source code from Git-hub and second task is to run the python program using script.
Check out from the Git is working fine.
For run the python script I given like the below code using 'script task'
I want to run the entire plan once I commit the code to git-hub. I have configured my project as per the Bamboo-documentation
and it is working only when the plan is stopped( ie, Only when all plans are stopped and commit the code in git, it is automatically check-out the source code running the python file.)
In the git repository folder couldn't find the '.git/hooks/post-receive' , 'post-receive' file.
I'm not sure if I understood your problem.
Can you explain better this part?
(...) it is working only when the plan is stopped( ie, Only when all plans are stopped and commit the code in git, it is automatically check-out the source code running the python file.)
I guess you are following the configuration for git from Repository triggers the build when changes are committed and that is not the same thing you should do for GitHub. There are two ways to configure a repository for GitHub:
Just add the repository polling trigger and Bamboo will check the GitHub repository for changes with the configured interval.
In this case, the GitHub will be the one triggering a Bamboo build. For that we need:
Admin >> Security settings>> [x] Allow anonymous users to trigger remote repository change detection and Bamboo Specs detection
Those options should allow you to run builds in Bamboo from GitHub commit updates.
Please let me know your findings.
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