Skip to main content

Build and dockerize InsuranceSuite applications

The process of building and dockerizing an InsuranceSuite application is split into two separate TeamCity jobs:

  • Build Application, which runs gwb build tasks.
  • Dockerize Application, which builds a Docker image.

When the entire process is completed, you can deploy an application.

Build applications

The Build Application job runs automatically when you modify code on the following branches:

  • default
  • develop
  • feature/*
  • release/*

For other branches, you must run the job manually.

Configure gwb build tasks

The Build Application job comes with three default gwb tasks:

  • warTomcatDbcp
  • genDataDictionary
  • webResources (optional)

To customize this configuration, contact your customer partner. For details on gwb tasks, see InsuranceSuite documentation.

Dockerize applications

When the Build Application job is completed successfully, Dockerize Application runs automatically for the same branch.

Build and dockerize applications from custom branches

To build and dockerize applications from custom branches, you must manually run the Build Application and Dockerize Application TeamCity jobs.

  1. In TeamCity, open the project with the application you want to build.

  2. Select the Build Application job and select the ellipsis on the Run button.

  3. On the Changes tab, select a branch to build the application from.

  4. Optionally, on the Parameters tab, review the Configuration parameters.

    Note:

    Changes to Configuration parameters apply to the single job you run. To change the default parameter values for all builds, contact your customer partner.

  5. Select Run Build.

  6. Repeat steps 3, 4, and 5 for Dockerize Application.

Alternatively, you can run the Dockerize Application job first. Build Application will be triggered automatically for the same branch and default parameter values will be used.