Enable or Disable the CI/CD Pipeline for Deployments

Your visual application can be deployed to a Visual Builder instance either directly or via continuous integration and delivery (CI/CD) pipelines.

CI/CD pipelines give you the option of deploying a visual application to multiple environments as well as automating some lifecycle operations (for example, you can deploy dependent artifacts to the target environment in parallel or delete visual applications to clean up the environment).

Visual applications are, by default, deployed using the CI/CD pipeline enabled for your project's main branch. You can choose something other than main as the default target branch to merge your changes to, but if you still want to deploy with a CI/CD pipeline, you'll have to create a pipeline for that branch first. You can also completely disable the CI/CD pipeline setting for the target branch—in which case, your visual application is deployed directly to the Visual Builder instance in the environment associated with your workspace.

Caution:

The CI/CD pipeline is a branch-level setting that impacts everyone who deploys to that branch when collaborating on the visual application. Before you enable or disable the pipeline, make sure it's the optimal configuration for all those who work on the visual application. Once you decide on a setting, it's a good idea not to change it unless your requirements change significantly.
  1. Click Menu in the upper right corner and select Settings.
  2. Under Building and Publishing, select a default Target Branch in your workspace's remote repo. (Click Refresh Remote Branches to refresh the list of remote branches, as needed.)

    When others deploy to this remote branch, you'll be notified so you can refresh your workspace to pick up their changes. This target branch is also preselected in the Publish dialog when you deploy your visual application, but you can change it.

  3. If a pipeline exists for the selected target branch, the Enable CI/CD pipeline checkbox displays.

    Select or deselect Enable CI/CD pipeline:

    • The option is enabled when at least one packaging job is enabled for the target branch. Deselect the option to stop using CI/CD pipelines for deployments.

      With the CI/CD pipeline disabled, your visual application's sources are merged to the target branch of the workspace's Git repository, which you select when you click Publish, then built and deployed directly to the Visual Builder instance in the environment associated with your workspace.

    • The option is disabled when all packaging jobs for the target branch are disabled. Select the option to start using CI/CD pipelines for deployments.

      Selecting the option enables all pipelines associated with the repository's selected target branch. You'll need to do this, for example, if you want to deploy your changes to other Visual Builder instances, such as to a test or production instance.

    If a CI/CD pipeline doesn't exist (for example, because you created a branch for developing a feature and have not yet created a pipeline, or if you pushed a scratch repo to a remote repo and chose not to create a pipeline), this option won't show.

    For information about creating and configuring the build jobs and pipelines for any additional Visual Builder instances you want to deploy to, see Deploy to Test and Production Instances.

As with most other actions, any change you make is logged to the activity stream on the Project Home page.

When you're ready to merge your changes: