Performs the same function as the Execute operation with the notable difference that it will perform the windows commands on each individual Partial Deploy file. All of the workflow execution properties available with execute are also available here in addition to the below properties:
Environment Variable | Value if File Name (with path) is /XXHR/publisher/APXSOBLX_1.rtf |
---|---|
FILE_PATH | /XXHR/publisher/APXSOBLX_1.rtf |
FILE_NAME | APXSOBLX_1 |
FILE_PATH_PREFIX | /XXHR/publisher |
FILE_EXTENSION | rtf |
SOURCE_FILE | <Workflow Execution Temp Directory>/XXHR/publisher/APXSOBLX_1.rtf |
Property Name | Property Code | Required | Description |
---|---|---|---|
Property Name | Property Code | Required | Description |
---|---|---|---|
Project File Includes | FD_PARTIAL_FILE_INCLUDES | No | Controls 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 |
Project File Excludes | FD_PARTIAL_FILE_EXCLUDES | No | Controls 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. /java/*##*.java##*person*##/java/.*[tT]est.*\.java) |
Input Name | Input Code | Required | Description |
---|---|---|---|
Code Snippet | FDWSHELL_INP_CODE_SNIPPET | Yes | The commands and/or bat scripts that are to be executed in a Windows environment. |
Restrict Environment | FDWSHELL_INP_RESTRICT_ENVIRONMENT | No | Provide comma-separated instance codes to restrict environment variables in shell to specified instance codes. If no value is provided all properties are available to shell environment. |
No Secure Variables | FDWSHELL_INP_NO_SECURE_VARIABLES | No | Check if you do not want to pass secure/encrypted properties in shell environment. |
Output Name | Required | Description |
---|---|---|
User Defined | No | See Special Considerations below. |
This operation delegates the consume/produce artifacts decision to the workflow developer.
This operation delegates the selection to the workflow developer to determine.
This operations delegates the execution to the workflow developer to decide.
User Defined Outputs – An output must be defined in the workflow editor to be accessible. Within your script, use the following built-in function to set the output with the appropriate value and have it returned to the workflow process. Any number of outputs can be used.
setOutput {output name} {output value} #Example Call: setOutput RESULT %{RESULT_VARIABLE}% |
Outputs are aggregated into a CSV list for partial deployments.
The above RESULT example would contain an entry for each file in the object list. [YES, NO]
# just call ignoreStatus for File that this shell did not process ignoreStatus |
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:
|