Deploying a Living Application to Bonita Cloud Non Production Runtimes

Deploy Job

The job "ACTION - Deploy a LivingApp to a non-production runtime" allows you to deploy your living applications to any of your Bonita Cloud runtimes with the development or production policies:

DeployJob
NonProdBuildForm

Launching a deployment

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

  2. Your default deploy configuration will be pre-loaded. If needed you can change it.

  3. You still need to select the build you want to deploy. You have several possibilities:

    • Last successful build

    • Specific build

    • Last Saved build

    • Upstream that triggered this job

    • Downstream build of

    • Last build with artifacts

    • Last completed build

    • Specified by permalink

    • Copy from WORKSPACE of the latest completed build

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

  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.

    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.

(optional) Load a custom Deployment Descriptor file

The BCD deploy command allows to add and extra parameter named deploy.json to specify which resources have to be deployed, and with which policy. See Deploy Living App artifacts | Deployment Descriptor file for more info.

When used, if a deploy policy is declared in DEPLOY_JSON, it overrides the other Development or Production Policies.

To use the deployment descriptor, enter the content of the deploy.json in the DEPLOY_JSON optional field.

NonProdBuildFormDeployDescriptor

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:

LinkToPortal

Failed deployment

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