buildOCC

The buildOCC operation is a partial project build operation for use with FlexDeploy's partial deployment system. It gathers files from SCM or the cloud using DCU and prepares a package that can later be deployed by the deployOCC operation.

The SCM must have the .ccc folder checked into it. If there is a folder structure above the .ccc folder, use a sparse checkout folder or other means to populate and build correct packages.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

OCC Account

FDOCC_CLOUD_ACCOUNT_CODE

Yes

The Oracle CX Commerce account with all the required properties like URL, App Key etc.

The account will be different for each OCC environment.

If building from SCM, this property won't be used in the build.

Node Executable Path

FDOCC_NODE_PATH

No

Paths to both node and npm packages (where the dcu/plsu executables are stored). Used in populate, build and deploy operations when provided. If not provided dcu and plsu commands must be on PATH.

Windows example: C:\Program Files\nodejs\;C:\Users\developer\AppData\Roaming\npm

Unix example: /path/to/node:/path/to/npm

Project Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Object Types

FDOCC_OBJECT_TYPES

Yes

Choose which kinds of files should be populated in this FlexDeploy Project.

GLOBAL_ELEMENT,GLOBAL_RESOURCE,SITE_SETTINGS,SNIPPETS,STACK,STATIC,THEME,WIDGET,PAGE_LAYOUT

are all supported.

Project File Includes

FD_PARTIAL_FILE_INCLUDES

No

Controls files included in Project Files. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with * for simple wildcards. Otherwise, regex
is used. (e.g. /widget/Account Addresses##/widget/Checkout*##*Customer*##/static/.*[tT]est.*\.png)

Project File Excludes

FD_PARTIAL_FILE_EXCLUDES

No

Controls files excluded from Project Files. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with * for simple wildcards. Otherwise, regex
is used. (e.g. /widget/Account Addresses##/widget/Checkout*##*Customer*##/static/.*[tT]est.*\.png)

Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the Target. You can add any endpoint to Target as this operation does not depend on any external libraries or utilities.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one. 

The following macros are not currently supported in the footer:
  • style