...
- 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.
- FILE_HASH - The Hash of the file as generated recorded by FlexDeploy - Added in 5.0.0.4
- FILE_SCM_REVISION - The SCM Revision of the partial deploy file - Added in 5.0.0.4
- SOURCE_FILE - Fully qualified location of the file on the endpoint.
- All
...
- file attributes defined on Project Files tab are included as well.
File level variable example
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 |
Environment/Instance Properties
...
Code Block | ||||
---|---|---|---|---|
| ||||
# just call ignoreStatus for File that this shell did not process ignoreStatus | ||||
Excerpt | ||||
hidden | true
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 | ||
---|---|---|
| ||
setObjectResultStatusSuccess
setObjectResultStatusFailed
setObjectResultStatusSkipped
setObjectResultStatusNotAttempted
setObjectResultStatusIgnore |
In the case where your Build or Deployment is hanging on your PowerShell plugin step, the most common issue is that the cmdlet you entered requires user input. If this occurs then you need to force
the cmdlet to complete without the user input and then re-build or re-deploy.
...