Skip to main content

Schedule Build Triggers

Build triggers allow you to start the builds automatically based on a schedule. This helps streamline workflows and reduce the need for manual intervention.

Set Trigger

Use Triggers Dashboard triggers-icon to configure and manage build triggers in a centralized location. This is helpful when managing multiple triggers across different builds or projects. You can also search triggers and filter them based on status or build configuration for faster access and organization.

  1. Navigate to Triggers Dashboard triggers-icon from the sidebar.

    triggers-dashboard

  2. Click Add Trigger.

    add-trigger-button

  3. Set the following values:

    • Build Configuration: Select the build to which this trigger will apply.
    • Trigger Name: Enter a meaningful name for the trigger.
    • Schedule Type: Choose how frequently the trigger should run. Available options include:
      • Daily: Runs the build once every day at a specified time.
      • Weekly: Runs the build on selected days of the week at a specified time.
      • Custom: Define a custom schedule using a cron expression.
    • Trigger Time: Enter the time at which the trigger should run.
    • Time Zone: Set the time zone for the scheduled trigger.
    • Enable Trigger: Toggle this ON to activate the trigger after configuration.

    triggers-set-trigger

  4. Click Add Trigger to add the trigger.

    triggers-set-trigger-add-button

Set Trigger via Triggers Tab

You can also configure triggers directly from the build interface under the Triggers tab. This is ideal when working within a specific build configuration and allows quick access to its associated triggers.

  1. Navigate to the build for which you want to add a trigger.

    build-overview-trigger

  2. Go to the Triggers tab.

    set-trigger-triggers-tab

  3. Click Add Trigger.

    set-trigger-add-trigger-button

  4. Set the following values:

    • Trigger Name: Enter a meaningful name for the trigger.
    • Schedule Type: Choose how frequently the trigger should run. Available options include:
      • Daily: Runs the build once every day at a specified time.
      • Weekly: Runs the build on selected days of the week at a specified time.
      • Custom: Define a custom schedule using a cron expression.
    • Trigger Time: Enter the time at which the trigger should run.
    • Time Zone: Set the time zone for the scheduled trigger.
    • Enable Trigger: Toggle this on to activate the trigger after configuration.

    triggers-tab-set-trigger

  5. Click Add Trigger to add the trigger.

    set-trigger-save-button

Filter Triggers

The Triggers Dashboard triggers-icon and the Triggers tab within each build configuration both include filters to help you quickly locate specific triggers and manage large or complex setups efficiently. You can filter the triggers based on:

  • Trigger Name: Search by name to quickly find a specific trigger.

  • Status: View triggers by state (All Statuses, Enabled, or Disabled).

  • Schedule: Filter by schedule type (All Schedules, Daily, Weekly, or Custom).

triggers-tab-filter-options

Triggers Tab Filter Options

triggers-dashboard-filter-options

Triggers Dashboard Filter Options

Manage Triggers

You can Edit, Enable or Disable, and Delete triggers directly from either the Triggers Dashboard triggers-icon or the Triggers tab within a build configuration.

Edit Trigger

  1. Navigate to the Triggers Dashboard or the Triggers tab of a specific build.
  2. Locate the trigger using filters or search.
  3. Edit the trigger:
    • If you are on the Triggers Dashboard, click the Ellipses menu triggers-dashboard-ellipses-menu next to the trigger, and then select Edit triggers-dashboard-edit-icon button.
    • If you are on the Triggers tab, click Edit triggers-tab-edit-button button directly on the trigger card.
  4. Modify the desired settings.
  5. Click Update Trigger trigger-update-trigger-button to save your changes.

Enable or Disable Trigger

  1. Navigate to the Triggers Dashboard or the Triggers tab of a specific build.
  2. Locate the trigger using filters or search.
  3. Change the trigger status:
    • If you are on the Triggers Dashboard, click the Ellipses menu triggers-dashboard-ellipses-menu next to the trigger, and then select Enable or Disable triggers-dashboard-enable-icon / triggers-dashboard-disable-icon button depending on the current state.
    • If you are on the Triggers tab, click Enable or Disable triggers-tab-enable-disable-toggle-button toggle button directly on the trigger card to change the status.

Delete Trigger

  1. Navigate to the Triggers Dashboard or the Triggers tab of a specific build.
  2. Locate the trigger using filters or search.
  3. Delete the trigger:
    • If you are on the Triggers Dashboard, click the Ellipses menu triggers-dashboard-ellipses-menu next to the trigger, and then select Delete triggers-dashboard-delete-icon button.
    • If you are on the Triggers tab, click Delete triggers-tab-delete-button button directly on the trigger card.
  4. Confirm the deletion when prompted.