Cron scheduling in Deployment project

Shanmuganandan_Jayakumar April 3, 2020

 Hi

My use case is only the deployment of the latest build artifact needs to happen from the build plan i choose and it should happen every quarter.

My likley approach would be to use Deployment Trigger and Cron Expression 

In the bamboo header choose Deploy after choosing All Deployment projects

Choose the application and the environment to add the Trigger

In the Add Trigger, You can select the Trigger as Scheduled

In the Schedule run according to schedule section forTrigger Configuration provide these details

1. Trigger description as "Trigger every Quarter"

2. Click on the Pencil icon and choose Cron expression

3. Provide the Cron expression which depicts to run every quarter, click Done

4. In the Trigger configuration page choose the branch where artifact needs to be taken for deployment main plan branch or custom plan branch

5. Click Save.

 

Kindly validate if this approach is correct or should i have the artifact published or exposed before choosing the main plan branch or custom plan branch

Kindly provide a better option if available for my use case.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events