It's all about the answers!

Ask a question

How to use requestPackage Ant script to request the package in RTC by using it in post build script of zOS Dependency build?


Dhinesh Palanisamy (1510) | asked Jul 06 '18, 2:35 p.m.

 Am trying to request the package through ant script after the zOS dependency build is completed by giving it (requestPackage.xml) as post-build script. During the build process the post build script is taken but during the execution it loading the class file from the Parent folder and build shows success but the package is not started.


Sample script am using the post-build script.

<taskdef name="requestPackage" classname="com.ibm.team.enterprise.packaging.taskdefs.RequestPackagingBuildTask" /> 
<requestPackage buildDefinitionId="PackageDef1" repositoryAddress="https://example.com:9443/ccm" userId="RELENG" passwordFile="/u/RELENG/private/rtcPasswordFile.txt" resultUUIDProperty="rtc.buildResultUUID" packageType="workitem" packageWorkItems="1;2;3" packageImpacted="true" />   


Comments
Matthew Hardin commented May 20 '19, 4:18 p.m. | edited May 20 '19, 4:39 p.m.

I am attempting exactly this.  But to expand on the question, I need to create the package from the work items that are included in the build subset.  So where packageWorkItems-"1;2;3" in the example, is it possible to reference this a property from the build subset?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.