We would like to see when and what various jobs are expected to run so that we can effectively utilize the resources ( agents ) better by scheduling plans when there are likely to be more free agents. Also helps us plan down times.
Hi @Subhi Andrews ,
You can consume a REST API endpoint and review all the CRON jobs Bamboo will be executing next (including builds to be triggered):
# USERNAME, replace with Bamboo Administrator username
# http://localhost:8085/bamboo, replace with Bamboo's Base URL
curl -k -u USERNAME -H "Accept: application/json" \
-X GET http://localhost:8085/bamboo/rest/admin/1.0/scheduler/jobs
As a result, you will find which plans will be executed when having (Scheduled, Single daily run, Repository Polling - Periodically and Scheduled)
And no information on this REST API endpoint for Remote trigger, Bitbucket repository triggers the build when changes are committed.
In case you are looking for more detail information regarding on Build Triggers in Bamboo, you could run a SQL statement against Bamboo's database and XPATH "build_definition-XML_DEFINITION_DATA" to get the trigger set up under Plan configuration >> Trigger tab:
from build b
join build_definition bd on b.build_id = bd_build_id
You should find the following in :
<value>0 0 0 ? * *</value>
The example above is for Repository Polling - Periodically, so you can notice:
As you can notice, it is require some effort in order to get the information you are looking for. I would encourage you on commenting, voting and/or becoming a watcher to https://jira.atlassian.com/browse/BAM-19972 - (REST) As an admin, I would like to review plan(s) triggering so you can receive latest updates.
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