Source control

2 minute read

You can configure either a source control or a build repository with a trigger step in your pipeline.

To save your pipeline, it must contain more than a trigger step.

Adding a source control trigger step

You can configure all your source control parameters after adding a trigger step into the pipeline editor.

To configure a source control in a trigger step:

  1. From the CloudBees Release Orchestration SaaS Home page, select Orchestration  Pipeline composer.

  2. Select an existing pipeline, or create a new pipeline. Refer to Working with pipelines for more information.

  3. Select Trigger from the icon options, which adds it to your pipeline.

  4. On the right pane:

    1. Select Source control.

    2. Enter SCM name from the options.

    3. Enter Repository from the options.

    4. Enter Branch name from the options.

    5. If necessary, enter the Directory/Folder(s) to include. This feature is supported for SVN and Perforce.

      Source control
      Figure 1. Source control set up in a trigger step
  5. Select SAVE (for a new pipeline) or UPDATE (for an existing pipeline).

You have added a source control trigger step to your pipeline.

Adding a build repository trigger step

You can configure all your build repository parameters after adding a trigger step into the pipeline editor.

To configure a build repository in a trigger step:

  1. From the CloudBees Release Orchestration SaaS Home page, select Orchestration  Pipeline composer.

  2. Select an existing pipeline, or create a new pipeline. Refer to Working with pipelines for more information.

  3. Select Trigger from the icon options, which adds it to your pipeline.

  4. On the right pane:

    1. Select Build repository.

    2. Enter Build repository name from the options.

    3. Enter Repo config name from the options.

      Build repository
      Figure 2. Build repository set up in a trigger step
  5. Select SAVE (for a new pipeline) or UPDATE (for an existing pipeline).

You have added a build repository trigger step to your pipeline.

To update trigger step settings, refer to Working with pipelines.