20.7k views
0 votes
You want to have back-deployments to Dev environments scheduled to run every day at 9 pm. How can you achieve this with Continuous Delivery?

a. From Setup, go to Apex Classes. Click on Schedule Apex, select the BackPromotion class, and schedule the frequency there.
b. Go to the Scheduled Jobs tab and click on New. Select Back Promotion Copado Webhook. Click on Scheduled to set a frequency there.
c. From the INT Connection Behavior record, click on Schedule Back-Promotion hyperlink and schedule the frequency there.

User Roboslone
by
7.6k points

1 Answer

4 votes

Final answer:

To schedule back-deployments for Dev environments at 9 pm every day in Continuous Delivery, use the scheduling feature provided by your CI/CD platform. The correct method depends on the exact tools and systems in use.

Step-by-step explanation:

The question involves setting up a schedule for deployments to Development (Dev) environments in the context of Continuous Delivery. To achieve automated back-deployments daily at 9 pm, you would typically make use of scheduling features in your continuous integration/continuous delivery (CI/CD) tool.

Among the options provided:

  • Setting up a schedule from 'Apex Classes' would be Salesforce-specific, and would be correct if you're dealing with Salesforce deployments.
  • Creating a new Scheduled Job for a back promotion could be correct depending on the CI/CD platform you are using, especially if it allows scheduling through webhooks.
  • Scheduling from an 'INT Connection Behavior' record seems to be specific to a particular tool or platform, so without more context or knowledge of that tool, its correctness cannot be determined.

It's essential that the chosen solution allows you to define the schedule accurately to run every day at 9 pm, accommodating your requirements for Continuous Delivery.

User Sbhatla
by
7.6k points