It's all about the answers!

Ask a question

Associating Build record and Build definition using the RQMUrlUtility.


Luis Calderon (2919) | asked Jun 24 '19, 9:00 p.m.




Hi:

You can create a build definition using the RQMUrlUtility tool with an XML file and the command below:


java -jar RQMUrlUtility.jar -command POST -user EID -password PASSWORD -url https://aeroclmsbox.honeywell.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE%20Banking%20(QM)/builddefinition -filepath c:\RQM_PROJECTS\RQMBuildDefinition.xml

 You can create a build recordusing the RQMUrlUtility tool with an XML file and the command below:

java -jar RQMUrlUtility.jar -command POST -user EID -password PASSWORD -url https://aeroclmsbox.honeywell.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE%20Banking%20(QM)/buildrecord -filepath c:\RQM_PROJECTS\RQMBuildRecord.xml

Is there a way to associate them (adding the records to the definition) by using the RQMUrlUtility tool too?

Regards

<o:p> </o:p>

<o:p> </o:p>

3 answers



permanent link
Elohim Arranaga (2461) | answered Jul 05 '19, 3:01 p.m.
JAZZ DEVELOPER

 Hi Luis, 

Not sure I understand 100% the question but you can indeed associate a build record with a build definition as this is a supported field, see:


Note the RQMUrlUtility is just a way to call the RQM REST API. 

Hope this helps.


permanent link
Shyam Sundar Ramakrishnan (11) | answered Jul 22 '19, 8:18 p.m.
After creating the build Record, I am trying to use the RQMUrlUtility PUT command to associate the newly created build record to the build definition. Questions are:
1. Should I use <buildrecord> </buildrecord> to provide the reference to the newly created build record that I want to associate to build definition?
2. What should be value that I should use? 

 <?xml version="1.0" encoding="UTF-8"?>

<builddefinition xmlns="http://jazz.net/xmlns/alm/qm/v0.1/"> 
<status>com.ibm.rqm.buildintegration.buildstatus.ok</status> 
<buildrecord>WHAT SHOULD COME HERE</buildrecord> 
</builddefinition> 


permanent link
Shyam Sundar Ramakrishnan (11) | answered Jul 23 '19, 11:51 a.m.

 I got what I was looking for..

<ns2:buildrecord href="https://........"/>

Your answer


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.