FlexDeploy's built-in Continuous Integration capabilities allow developers to setup various triggers for builds & deployment workflow executions. On the Project's Continuous Integration tab click on the Create button and select Trigger Type to create triggers.
The following trigger types can be created to achieve Continuous Integration and Continuous Delivery.
...
FlexDeploy will automatically initiate build request when change is found in SCM Repository in comparison to previous version of the same project stream. If build work requires inputs, you can configure inputs as well on this screen.
Scheduled Build
...
- Use plus icon button to utilize sample cron expressions, clear the contents of the Cron Expression input before using a sample expression. This trigger type is useful if you have a requirement to schedule builds at a certain time of day, like 7:00 am.
- Click the Save button to save the changes.
...
Use this trigger type to schedule deployments to an environment at a certain time(s) using a cron expression. Select the Deploy Environment, Stream & enter values for cron expression, project deploy workflow inputs (if any) and flex fields Flexfields (if any).
- Use plus icon button to utilize sample cron expressions, clear the contents of the Cron Expression input before using a sample expression. This trigger type is useful if you have requirement to deploy at certain time of day, like 8:00 pm, to a Development environment.
- Click the Save button to save the changes.
...
- Select the Deploy Environment, Stream & enter values for project deploy workflow inputs (if any) and flex fields Flexfields (if any).
- Click the Save button to save the changes.
You can use these triggers in any combination to achieve continuous integration. A few examples are provided below:
- Poll SCM and Deploy to multiple environments
- Setup Poll SCM Trigger for every 30 minutes.
- Setup Post Build Trigger to deploy to Dev immediately after a successful build.
- Setup a Schedule Deploy to QA every Monday 7am (cron: *0 0 7 ? * MON ** ).
- Scheduled Build and Deploy
- Setup Scheduled Build for every day at noon (cron: 0 0 12 * * ? ).
- Setup a Post Build Trigger to deploy to Development environment.
...