Executes Node JS script using the given inputs as parameters. You can specify which version of Node install you want to execute the Node JS script with. Review the special considerations if you are using the automatic install feature. See installNodeJS to install node and global packages prior to running this operation.
Inputs
Input Name | Input Code | Required | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Node Executable Path | FDNODE_INP_NODE_EXE_PATH | No | An absolute path to a Node executable. If provided this will override the Node version input. | Install Node Version | FDNODE_INP_NODE_VERSION | No | If selected FlexDeploy will install this version of node if it doesn't already exist and use this for plugin execution. Possible versions include: v14, v13, v12, v11, v10, v8, v6, v4. FlexDeploy will install the latest version of the major release specified.not provided node must be on PATH. | ||||
Working Directory | FDNODE_INP_WORKING_DIRECTORY | No | A relative path to a directory to execute The working directory where the node commands inwill be executed. This willpath can be absolute or relative to the temp directory. | Artifacts to Save | FDNODE_INP_ARTIFACTS_TO_SAVE | No | A relative path to a directory to save as an artifact for build workflows. This path . If relative the path will be relative to the temp directory. If not provided no artifact will be created. You can specify the entire temp directory by entering a dot (.) in the input. | Global NPM Packages | FDNODE_INP_GLOBAL_NPM_PACKAGES | No | A comma separated list of NPM packages to be installed globally for the Node JS installation. directory containing package.json will be used. |
Node Commands | FDNODE_INP_NODE_COMMANDS | Yes | The script of commands to be executed with the specified installation of Node JS. | ||||||||
Artifacts to Save | FDNODE_INP_ARTIFACTS_TO_SAVE | No | This path will be relative to working directory. Use '.' notation to save the entire working directory. If no value is provided no artifacts will be saved. If produces artifacts is false, no artifacts will be created. |
Artifacts
This operation delegates the consume/produce artifacts decision to the workflow developer.
...
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Special Considerations
...
.
...