Example: Running Software Build Tools Commands from Custom Build Scripts
The following examples show how to run the Software Build Tools commands to create a software build using customized build scripts:
• java $(Username) $(Password) —jar $(SoftwareBuildtoolsJar) —ServiceName CreateAndUpload —ContainerType PRODUCT —ContainerName $(Container) —Location FPGA/Builds —ObjectType SWBuild —ObjectName $(name)—$(version) -Filename D:/dist_client_windows/auto_test/auto_test_results.txt —IsPrimary false
• java $(Username) $(Password) —jar $( SoftwareBuildtools.jar) —ServiceName UpdateObject —ContainerType PRODUCT -ContainerName $(Container) —ObjectName $(name)—$(version) —Location FPGA/Builds —Attributes RialtoBuildVersion=$(version)\;RialtoBuildLabel=$(label)\;RialtoBuildDate (TODAY)\;RialtoBuildStatus=In Process\;RialtoBuildDescription=$(FullTitle) $(version)
The following examples show how to run various Software Build Tools commands in order to upload content to a software build using customized build scripts:
• java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName AddContentToSWBuild —ContainerType PRODUCT —ContainerName $(Container) —Location FPGA/Builds —ObjectName $(name)—$(version) —Content D:/LCD/LPC2368.zip —Filename LPC2368.zip —IsPrimary true
• java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName AddContentToSWBuild —ContainerType PRODUCT —ContainerName $(Container) —Location FPGA/Builds —ObjectName $(name)-$(version) —Content http://<custom_location>/LCD/LPC2368.zip —Filename LPC2368.zip —IsPrimary true
• java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName UpdateObject —ContainerType PRODUCT —ContainerName $(Container) —ObjectName $(name)—$(version) —Location FPGA/Builds —Attributes RialtoBuildDate=$(TODAY)\;RialtoBuildStatus=Successful
• java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName LinkBuildToDocs —ContainerType PRODUCT —ContainerName $(Container) —BuildObjectName $(name)—$(version) —BuildObjectLocation FPGA/Builds —DocumentType SWDocument —DocumentName RTOS —DocumentLocation FPGA/Source
• java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName LinkDefectToBuild —ContainerType PRODUCT —ContainerName $(Container) —BuildObjectName $(name)—$(version) —BuildObjectLocation FPGA/Builds —LinkType SubmittedTo —Adapter bugzilla —DefectID $(defectid1),2,3,4,5