Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Runs user-specified groovy script. The plugin provides the ability for the user to define additional inputs that will be available to the scripts when executing. In addition, the plugin provides the ability for the user to define any number of outputs from the execution of the script that could be utilized in subsequent steps in the workflow.

...

Variable nameDescriptionValue if File Name (with path) is /XXHR/publisher/APXSOBLX_1.rtf
FILE_PATHFile path of the partial deploy file. (File Name (with path)) on the partial deployment screen./XXHR/publisher/APXSOBLX_1.rtf
FILE_NAMEFile name of the partial deploy file.APXSOBLX_1
FILE_PATH_PREFIXFile path, excluding the file name and extension./XXHR/publisher
FILE_EXTENSIONFile extension on the partial deploy file.rtf
SOURCE_FILEFully qualified location of the file on the endpoint.

Fully qualified path to file being processed. This can be different locations for build and deploy workflow execution as there might be some checkout folder specified for build. See examples below for build and deploy workflow where FILE_PATH is in bold text.

  • /home/oracle/application/localhost/work/846808/840047/temp/PartialExecute/EBSCustomizations/XXHR/import/XXHR_Second_CP.ldt
  • /home/oracle/application/localhost/work/846808/840059/temp/import/XXHR_Second_CP.ldt
FILE_HASHThe Hash of the file as generated recorded by FlexDeploy.
FILE_SCM_REVISIONThe SCM Revision of the partial deploy file.

Environment/Instance Properties

Property Name

Property Code

Required

Description





Project Properties

Property Name

Property Code

Required

Description

Stop on Deployment Error

FDGROOVY_STOP_ON_DEPLOYMENT_ERROR

No

Stop deploying package files if any error occurs. If unchecked all files will be deployed even if one or more files fails. This is for partial operations only. True by default.

Inputs

Input Name

Input Code

Required

Description

File Path

FDGROOVY_INP_FILE_PATH

Yes

The file path of the file to be executed.

ClasspathFDGROOVY_INP_CLASSPATHNoAdditional classpath(s) to use java libraries. Classpaths can be separated by semicolons or colons. Classpath entries may contain a wildcard (*).

Outputs

Output Name

Required

Description




Artifacts

This operation delegates the consumes/produces artifacts decisions to the workflow developer. Check Consumes Artifacts on the workflow step editor if this operation requires artifacts to be delivered prior to execution of the script. Check Produces Artifacts on the workflow step editor if this operation creates artifacts. The artifacts folder is available via the FD_ARTIFACTS_DIR variable.  

...