LinkPartToBuild
The LinkPartToBuild command associates a software part object with a software build object by querying.
Command-Line Syntax
java —jar RBMWebServiceCore.jar —ServiceName LinkPartToBuild —ContainerType —ContainerName —BuildObjectName —BuildObjectLocation —PartName —PartLocation [—PartContainerType] [—PartContainerName] [-Revision]
Argument
Description
—ContainerType
One of LIBRARY, PRODUCT, or a PROJECT.
—ContainerName
Name of the container.
—BuildObjectName
Name of the software build object.
—BuildObjectLocation
Location of the software build object in the specified container.
—PartName
Name of the software part object.
—PartLocation
Location of the software part object in the specified container.
—PartContainerType
One of LIBRARY, PRODUCT, or a PROJECT. You must specify whether the software part object belongs to a different container type than the software build object. Otherwise, the container type of the software build object is used.
—PartContainerName
Name of the container. You must specify whether the software part object belongs to a different container type than the software build object. Otherwise, the container type of the software build object is used.
—Revision
Build revision ID. If no revision is specified, the latest iteration is used.
Configuration File Template
<service>
<ServiceName>LinkPartToBuild</ServiceName>
<ContainerType>...</ContainerType>
<ContainerName>...</ContainerName>
<BuildObjectName>...</BuildObjectName>
<BuildObjectLocation>...</BuildObjectLocation>
<PartName>...</PartName>
<PartLocation>...</PartLocation>
<PartContainerType>...</PartContainerType>
<PartContainerName>...</PartContainerName>
<Revision>...</Revision>
</service>
Examples
To associate a software part object with a software build object of revision A in a container of a product, type:
java —jar RBMWebServiceCore.jar —ServiceName LinkPartToBuild —ContainerType PRODUCT —ContainerName GOLF_CART —BuildObjectName TestSWBld3 —BuildObjectLocation Test Folder SWPart —PartName TestSWPart1 —PartLocation Test Folder —Revision A
To associate a software part object located in a container of a library with a software build in a container of a product, type:
java —jar RBMWebServiceCore.jar —ServiceName LinkPartToBuild —ContainerType PRODUCT —ContainerName GOLF_CART —BuildObjectName TestSWBld3 —BuildObjectLocation Test Folder SWPart —PartName TestSWPart1 —PartLocation Test Folder —PartContainerType LIBRARY —PartContainerName TestLibrary
Was this helpful?