DepotSoftware - addOsServicePackAsHotfixToDepotByGroupName

DepotSoftware - addOsServicePackAsHotfixToDepotByGroupName

Description :

This command adds an OS Service Pack as a HotFix to the Depot with the URL mounting options.

Use the urlTypeName argument to indicate the name of the deployable URL type. urlTypeName can be one of the following:

  • FILE_SERVER: Upload source to file server. When you use this option, you cannot use property references in the source location.
  • AGENT_COPY_AT_STAGING: Copy to agent at staging.
  • AGENT_MOUNT: Agent mounts source for direct use at deployment (no local copy).

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Full path to the depot group containing the Service Pack installable.

softwareLocation

String

Location of the software package you are adding. This can be either a fully qualified NSH path or a network URL.

name

String

Display name of the Service Pack installable.

skipCopySource

Boolean

True means do not copy source to undo directory. False means copy source to undo directory.

urlTypeName

String

Name of the deployable URL type.

Example

The following example shows how to add a Service Pack to the Depot as Hotfix. Note that the location can only be a fully qualified NSH path to the Service Pack (for example, //host/path/to/SP/SP-1.2.3.exe).

Script


DEPOT_GROUP=/SP 

SP_LOC=//filestore1/SP/SP-1.1.0.exe 

SP_NAME="Install Custom db" 

SKIP_COPY_SRC=false 

URL_TYPE=AGENT_COPY_AT_STAGING 

`blcli DepotSoftware addOsServicePackAsHotfixToDepotByGroupName $DEPOT_GROUP $SP_LOC $SP_NAME $SKIP_COPY_SRC $URL_TYPE` 



Was this page helpful? Yes No Submitting... Thank you

Comments