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.
Triggers setup for Scheduled Build based on Release Scheduled Build configuration can not be deleted from this page. You can configure Workflow Input and FlexFields for those triggers by clicking on Trigger Type link.
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
...
Tip |
---|
For details on Cron Expression Syntax see http://www.quartz-scheduler.org/api/2.2.1/org/quartz/CronExpression.html. |
Scheduled Deploy
...
Tip |
---|
For details on Cron Expression Syntax see http://www.quartz-scheduler.org/api/2.2.1/org/quartz/CronExpression.html. |
Post Build Trigger
...
- Select the Deploy Environment, Stream & enter values for project deploy workflow inputs (if any) and 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.
For any trigger, you can configure Workflow Inputs or FlexFields by clicking on Trigger Type link.