Associating Build record and Build definition using the RQMUrlUtility.
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
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.
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>