Task 4: Create a Pipeline for Continuous Deployment


IDA provides a build-in continuous integration and deployment pipeline to orchestrate testing, checkstyle, snapshot taking and deployment.

About this task

Before you start,make sure you have set up the test project.

Step 1: Create a pipeline

We provide a web UI for users to define the pipeline easily.

Procedure

  1. Click Create Pipeline button in pipeline page. Fill in the pipeline name and choose the visibility.

  2. Click button. Then fill in Create Stage form like the screenshot and Submit. Remember to select the first option under snapshot column as it’s the latest snapshot.

    More details of the parameters in the table, pls see Create a Pipeline for Continuous Deployment.

  3. Click button shown below.

    Fill in the form like below and Submit.

  4. Repeat the step 3 to add Snapshot and Checkstyle step and fill out the forms according to the table below. The button clicked is the one below the stage step.

      Snapshot Checkstyle
    Name Snapshot Checkstyle
    Type Snapshot Checkstyle
    Naming Pattern {MAJOR_MINOR.PATCH}-{APP_ACRONYM}{TRACK}{yyyyMMddHHmmss} N/A
    Health Score Threshold N/A 20
    Warnings Threshold N/A 200
    Ignore Empty Documentation N/A Check

    Finally, the stage will be like this.

  5. Click Save button.

Step 2: Run the pipeline

Now you can run the pipeline.

Procedure

  1. In the pipeline list page, click Run icon.

  2. When the pipeline build is over, click the pipeline build result link to see the whole report.

    The report is like this:

    If you want know the details of the pipeline report, you can refer to this link. Details of the report .

Categories:

Updated: