Managing pipelines#

Add applications and jobs to your pipeline, and add or modify stages.

A pipeline is created when you create a value stream. If, for example, you create a value stream named "My Value Stream," a corresponding "My Value Stream" pipeline is also created. On the Value stream detail page, click Pipeline to display the pipeline associated with the current value stream.

You can add environments, or stages, at any time and rearrange them as needed. Each application that you add to a pipeline is inserted onto a separate row below the last application. As you add apps and jobs to stages, tasks are added to the associated deployment plan in the order that they appear in the pipeline.

To modify a pipeline, complete the following steps:

  1. On the Pipeline page, click Add Environment to create an environment, or stage.

    1. In the Add environment window, and in the Environment name field, enter the environment name.

    2. In the Action field, select the check boxes for the required deployment modes from the list of Deploy, Join release, and Schedule deployment.

      If more than one deployment mode is selected, both the default deployment mode play control and drop-down Drop-down will be visible on the environment.

      The deployment mode play controls are as follows:

      • Deploy Deploy
      • Join releaseJoin release
      • Schedule deploymentSchedule deployment
        1. Based on the selected deployment modes from the previous step, in the SET AS DEFAULT field, select the radio button for the default deployment mode.

      The deployment mode play control that is visible on the environment will be the default.

    3. Click Save.

      The environment is added to the pipeline as shown in the figure.

      Pipeline

    4. Move the environment to the required location in the pipeline by hovering the mouse over the right side of the environment until the move cursor move cursor appears and drag it to the required location in the pipeline.

      You can re-order the stages except for the first stage, Input.

    5. Click stage context menu and select Edit environment to update the Environment name, deployment modes, and default deployment mode.

  2. To map an application environment to the stage, complete the following steps:

    1. For the environment where you want to add the application, click Add button.

    2. On the Map app environment to logical environment window, in the Managed by field, select an environment, and in the Select job field, search and select the required job from the integration.

    3. Click Save.

      The environment is added to the stage.

    4. To view the deployment template associated with the stage, click stage context menu and select View deployment template.

      The deployment plan detail page is displayed. As you add apps and jobs to the pipeline, associated tasks are inserted into the plan. You can also add tasks directly to the plan. For example, you might add a DRA task to the top of the plan to ensure deployments can only start after the associated DRA tests are satisfied.

    5. To modify the mapped environment, click stage context menu and select Edit application environment.

    6. To delete the environment, click stage context menu and select Delete.

  3. To add an app, complete the following steps:

    1. Click Add app to display the Add apps - Choose the apps window.

    2. Click the drop-down list in the Managed by field and select the app.

    3. Click Save.

  4. Click on the deployment mode play control to open the respective modal window.

    The applications along with the versions deployed or joined releases in the previous environment will be available in the modal window dialogs shown in the figures below. The version to be deployed or joined releases for the selected application can be selected from the drop-down lists shown in the figures below.

    1. If Deploy is selected as the default deployment mode, the Deploy modal window is displayed.

      Deploy modal window

    2. If Join release is selected as the default deployment mode, the Join release modal window is displayed.

      Join release modal window

    3. If Schedule deployment is selected as the default deployment mode, the Schedule deployment modal window is displayed.

      Join release modal window

    You can also open the respective modal windows by clicking on the Drop-down and selecting either Deploy, Join release, or Schedule deployment.

    Join release modal window

    After Join release is scheduled, the join release link appears below the PROD environment including the join release graphic and name. You can click the link to view the deployment plan page.

    Join release modal window

Run a deployment for a pipeline stage.

Parent topic: Pipelines