Build and deploy a living application to Bonita Cloud Non Production Runtimes

Build and deploy Job

This job combines the build and deploy jobs to streamline your build and deploy process with the development or production polices:

build deploy job

Launching a deployment

  1. Click on the CDPlayButton of the "ACTION - Build and Deploy a LivingApp to a non-production runtime" job.

  2. Your default build and deploy configuration will be pre-loaded. If needed you can change it (includes the repository URL and branch)

  3. Select the target runtime (note that only non-production runtimes are available - to deploy in production see here)

  4. If needed, you can fill the Deployment Descriptor in the DEPLOY_JSON field to specify which resources have to be deployed, and with which policy. When used, if a deploy policy is declared in DEPLOY_JSON, it overrides the Development or Production Policies.

  5. You can specify the directory that contains the integration tests with the INTEGRATION_TESTS_DIR optional field.

  6. You can also select the deployment policies to apply. Warning: It may be overridden by policies inside DEPLOY_JSON.

    Artifact Development Policy(default) Production Policy(checkbox ticked)

    Applications

    REPLACE_DUPLICATES

    REPLACE_DUPLICATES

    Organization

    MERGE_DUPLICATES

    IGNORE_DUPLICATES

    Processes

    REPLACE_DUPLICATES

    IGNORE_DUPLICATES

    Profiles

    REPLACE_DUPLICATES

    IGNORE_IF_ANY_EXISTS

  7. For troubleshooting purposes, you can activate the "Debug_mode" option to activate the debug verbose mode.

  8. Click on the build button (lower left).

  9. You should see the job progress and steps.

Result of a deployment

Successful deployment

If the job is successful, you can directly access the corresponding portal (in order to test) by click on the link displayed in the job history:

link to portal

Failed deployment

If the job fails, then you need to open its logs to understand the issues.