Versions Compared

Key

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

...

  • PROJECT_TYPE - Partial deploy project type, GENERIC, EBS, MDS etc
  • OBJECT_TYPE_CODE - Object type for the File.
  • File level attributes
    • FILE_PATH - File path of the partial deploy file. (File Name (with path)) on the partial deployment screen.
    • FILE_NAME - File name of the partial deploy file
    • FILE_PATH_PREFIX - File path, excluding the file name and extension
    • FILE_EXTENSION - File extension on the partial deploy file.
    • SOURCE_FILE - Fully qualified location of the file on the endpoint.
    • FILE_HASH - The Hash of the file as generated recorded by FlexDeploy - Added in 5.0.4
    • FILE_SCM_REVISION - The SCM Revision of the partial deploy file - Added in 5.0.4
  • All file attributes defined on Project Files tab are included as well.

File level variable example

Environment VariableValue if File Name (with path) is /XXHR/publisher/APXSOBLX_1.rtf
FILE_PATH/XXHR/publisher/APXSOBLX_1.rtf
FILE_NAMEAPXSOBLX_1
FILE_PATH_PREFIX/XXHR/publisher
FILE_EXTENSIONrtf
SOURCE_FILE

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

<Workflow Execution Temp Directory>/XXHR/publisher/APXSOBLX_1.rtf

_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

Environment/Instance Properties

...

Code Block
languagebash
titleOutputs Syntax
setOutput {output name} {output value}

#Example
setOutput RESULT ${RESULT_VARIABLE}

To load a file into an output, consider syntax like this:
setOutput OUTPUT_NAME "`cat /path/to/file.txt `"

Outputs are aggregated into a csv list for partial deployments.

...

true
Code Block
languagebash
titleIndicate file was not processed and should not consider status
# just call ignoreStatus for File that this shell did not process
ignoreStatus
Excerpt
hidden

Overriding the file status

There may be cases when you want to manually set the status for any particular file when scripting.  The below functions can be utilized to set the status of the file as you see fit:

Code Block
languagebash
setObjectResultStatusSuccess
setObjectResultStatusFailed
setObjectResultStatusSkipped
setObjectResultStatusNotAttempted
setObjectResultStatusIgnore