Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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" />   

0 votes

Comments

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,700
× 457
× 10

Question asked: Jul 06 '18, 2:35 p.m.

Question was seen: 2,529 times

Last updated: May 20 '19, 4:39 p.m.

Confirmation Cancel Confirm