buildApplication (OVB)

Build Oracle Visual Builder Applications from source code. Artifacts produced will be optimized.zip (the build to be deployed) and sources.zip (the source code).

This operation expects the source code to be in an unzipped format.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Oracle Visual Builder Account

FDOVB_CLOUD_ACCOUNT_CODE

No

The OVB account with all the required properties like Base URI, Username and Password for running OVB Instance.

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Oracle Visual Builder Account

FDOVB_INP_CLOUD_ACCOUNT_CODE

No

The OVB account with all the required properties like Base URI, Username and Password for running OVB Instance.

Skip Optimize

FDOVB_INP_SKIP_OPTIMIZE

No

Skip optimizing the build.

Mode

FDOVB_INP_MODE

Yes

Defines the build mode. Value of 'default' builds a visual application's assets for deployment to Visual Builder runtime service. Value of 'fa' builds a visual application's assets for deployment to an Oracle Cloud Applications environment.

FA Index Html Resolve Variables

FDOVB_INP_FA_INDEX_HTML_RESOLVE_VARIABLES

Yes

When Mode is set to 'fa' and if this property is set to false, the generated index.html does not resolve JET and VB URL and version template variables. The file will contain %JET_CDN_PATH%, etc.

Enable Telemetry

FDOVB_INP_ENABLE_TELEMETRY

Yes

If true injects the Trace.ConsoleProfile initializer into the generated index.html

Node Executable Path

FDOVB_INP_NODE_EXE_PATH

No

An absolute path to a Node executable or its parent directory. If not given, node in path will be considered. @Since 7.0.0.4

Nodejs Version

FDOVB_INP_NODE_VERSION

No

Nodejs version. Installs node with the provided version. This input will be ignored if the input FDOVB_INP_NODE_EXE_PATH is also provided. @Since 7.0.0.4

NPM Install Arguments

FDOVB_INP_NPM_INSTALL_ARGUMENTS

No

Allows to enter one or more arguments to npm install command. (Ex --no-optional). @Since 7.0.0.1

.npmrc

FDOVB_INP_NPMRC

No

npm configurations entered as list of key = value parameters (e.g. loglevel=notice), one key value pair per line. @Since 7.0.0.3

All default npmrc configurations are listed when the command “npm config list -l” is run.

Some examples are-

1.registry=https://registry.npmjs.org/ (Specifies the URL of the npm registry)

2.strict-ssl=false (Controls SSL certificate validation during HTTPS requests.)

3.proxy=http://your-proxy-url:port
https-proxy=http://your-https-proxy-url:port (Specifies the URL of the proxy server.)

4.loglevel=verbose (Sets the logging level for npm output (e.g., silent, error, warn, info, verbose, debug).)

5.production=true (Instructs npm to skip installation of devDependencies.)

For more details, refer npm-config | npm Docs

Also, when multiple .npmrc files are available, npm follows a specific hierarchy for merging these configurations. Such as Project-Specific > User-Specific >Global.

For more details, refer npmrc | npm Docs

Project Source Folder

FDOVB_INP_PROJECT_SOURCE_FOLDER

No

Path to the folder which contains the application build configuration files (Ex package.json, Gruntfile.js). If a relative path is given, a path inside the FD_TEMP_DIR will be assumed.

@Since 7.0.0.9

Build Arguments

FDOVB_INP_BUILD_ARGUMENTS

No

Allows to enter one or more arguments to build command. @Since 7.0.0.10

Example,

--env=Development

--force

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.

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