A shell script is a computer program designed to be run by the Unix shell command-line interpreter. These files will be executed after they are copied to the target location.
Object Type Identification
Files are not automatically identified for this type. You can move script file from other type or you can customize Match Script with custom logic if such files are placed in specific folder.
File Extensions
Name | Description |
---|---|
n/a |
Object Type
Name | Code |
---|---|
Script With Execution | SCRIPT_EXECUTION |
Object Type Attributes
Name | Code | Description | Default Value | Supported Values |
---|---|---|---|---|
Source | SOURCE | Object Source Location Type | SCM | SCM |
Target Location | TARGET_LOCATION | Path to where the file should be deployed to. | $<PROD_TOP>/bin/ | |
Parameters | PARAMETERS | Arguments to pass to the shell script. | ||
Target File Permissions | FILE_PERMISSIONS | Permissions to apply to the file after it is deployed | Defaults to the project property FDEBS_FILE_PERMISSIONS |
Related Project Properties
Name | Code | Description | Default Value |
---|---|---|---|
EBS Scripts Root Destination Directory | FDEBS_SCRIPTS_ROOT_DESTINATION_DIR | Target directory for script files (e.g. $FND_TOP/bin). | $<PROD_TOP>/bin |
FDEBS_SCRIPTS_ROOT_SOURCE_DIR | Source folder for scripts files. (e.g. scripting) | scripts | |
File Permissions | FDEBS_FILE_PERMISSIONS | Target File Permission. Will be set to target file after deployment using chmod. eg: 755 |
Sample Build Commands
N/A - Build commands not supported for this type.
Sample Deploy Commands
cp "$SOURCE_FILE" "$XXHR_TOP/bin/"; "$XXHR_TOP/bin/MyScript.sh"