A shell script is a computer program designed to be run by the Unix shell command-line interpreter.
Object Type Identification
- Files with extensions .sh, .pl are included regardless of location.
- Files with no extension but in scripts folder
File Extensions
Name | Description |
---|---|
.sh | Shell script |
.pl | Perl script |
Object Type
Name | Code |
---|---|
Scripts | SCRIPT |
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/ | |
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 |
---|---|---|---|
Scripts Root Source Directory | FDEBS_SCRIPTS_ROOT_SOURCE_DIR | Source folder for scripts files (e.g. scripting). | scripts |
Scripts Root Destination Directory | FDEBS_SCRIPTS_ROOT_DESTINATION_DIR | Target directory for script files (e.g. $FND_TOP/bin). | $<PROD_TOP>/bin |
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/";