Create a Pipeline for Continuous Deployment


Create a pipeline

  1. Click Create Pipeline button in pipeline page.

    In the Build Triggers section, you can configure how to automatically trigger the pipeline build. Select Build Periodically to configure a timer to trigger the pipeline build. Select Trigger By New Snapshot, then a background job will periodically check new snapshots on PC server of the first stage (see steps below). If a new snapshot is created on PC, a new pipeline build will start. The time interval for the background job to query for new snapshots can be set in Settings tab.

  2. Click icon to add a new stage.

    The fields to create a stage is explained as below.

    Label Description
    Name The stage name
    Type The options are Development, Test, Stage, Production and Utility
    Server The server environment based on the stage type, the Utility stage type doesn’t have server
    Process App Process apps of the selected server
    Branch The branch of the selected process app
    Snapshot The snapshot of the selected branch
  3. Click icon below the stage step to add a new step in the stage.

    The fields to create a step is explained as below.

    Label Description
    Name The stage name
    Type The options are Snapshot, Deployment, Checkstyle, Test and Script.

    In Development stage, you can choose the step type as Snapshot, Checkstyle, Test and Script.

    In the stages of Test, Stage and Production, you can choose the step type as Deployment, Test and Script.

    In Utility stage, you can only choose the step type as Script.

  4. Click icon to add more stages, here’s a typical stage’s look.

    For the first stage, it’s not allowed to change the sequence. However, you can adjust other stages’ sequence by dragging and dropping.

Create a pipeline from template

  1. Click Create Pipeline button in pipeline page.

  2. Click icon to create a pipeline from a template.

  3. There are five build-in templates, you could choose one from the dropdown list.

  4. Input the missing value labeled by .

Edit a pipeline

  1. In the pipeline list page, click button.

  2. Update pipeline form according to the table shown in creation session.

Delete a pipeline

In the pipeline list page, click button.

Run a pipeline

  1. You have two ways to run the pipeline. Firstly, click Run button at the top right corner of the pipeline section. Secondly, enter the pipeline dashboard page, click Build button.

    In the statistics section, you could view each build step avg time and ratio of the pipeline completed builds.

    When you run the build, the pipeline build history section will appear with building status for each stage. You could see the build status, running step or failed step of each build.

    Click the at the ending of each row, you will see the build logs in popup dialog.

  2. When the pipeline build is over, the summary information will be appeared in pipeline dashboard. The failed step will not be running and won’t have any report. You can click the build name link to see the whole report. Details of the report

Perform deployment from Workflow PC server to PC server

Note:

IDA only support to deploy applications from Workflow PC server to PC server between same version.

  1. Click Create Pipeline button in pipeline page.

  2. Click icon to add ‘Stage1’ and select “Deployment” type.

  3. Click icon below the stage step to add ‘TakeSnapshot’ step in the stage and select “Snapshot” type.

  4. Click icon to add ‘Stage2’ and select “Deployment” type, you could select another Workflow PC server with same version of ‘Stage1’.

  5. Click icon below the stage step to add ‘Deploy’ step in the stage and select ‘Deployment’ type.

  6. Click “Save” button and then you could use the pipeline to make a deployment from PC server to PC server.

Categories:

Updated: