NSHScript - commitNSHScript
NSHScript - commitNSHScript
Description :
This command commits the specified NSH script to git.
Returns the git Commit ID.
Usage example:
NSHScript commitNSHScript DBKey:SDepotObjectModelKeyImpl:2000045-1-2007700 "commit message"
The nshdbkey argument provides a DBKey identifying the NSH scripts to be commited.
NSHSCRIPT_DB_KEY_KEY=`blcli NSHScript getDBKeyByGroupAndName /groupname script_name`
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
dbKey | DBKey | Handle to the nsh script commited to git. |
checkinComments | String | Specify commit message to be included in git while commiting the nsh script. |
Example
The following example commits an NSH script using the DBkey and commit message:
Script
NSHScript commitNSHScript DBKey:SDepotObjectModelKeyImpl:2000045-1-2007700 "commit message"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*