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.

Environment/Instance Properties

Property NameProperty CodeRequiredDescription
OCC AccountFDOCC_CLOUD_ACCOUNT_CODEYes

The Oracle CX Commere 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 PathFDOCC_NODE_PATHNo

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 NameProperty CodeRequiredDescription
Object TypesFDOCC_OBJECT_TYPESYes

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 IncludesFD_PARTIAL_FILE_INCLUDESNoControls 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 ExcludesFD_PARTIAL_FILE_EXCLUDESNoControls 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)

Inputs

Input NameInput CodeRequiredDescription




Outputs

Output NameDescription


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 environment/instance. You can add any endpoint to environment/instance 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