It's all about the answers!

Ask a question

How can I grab data from a Build Forge step log?


Randall Beck (22412) | asked Mar 06 '16, 5:28 p.m.
edited Mar 07 '16, 10:40 a.m.
Hi,

I have a BF project that has a step that calls an UrbanCode Deploy (UCD) command:
udclient requestApplicationProcess -application $ucd_app - request.json
	
	
When this step runs successfully, UCD returns a requestID, e.g.,
249 3/3/16 5:12 PM EXEC{"requestId": "c1e0a779-a324-4560-b01f-f1ea560ae727"}
	
	
I would like to use UCD's requestID to build a URL.

Does BF support a way to parse a step log for a token that can be then used in a subsequent step?

Thanks,

One answer



permanent link
Donald Nong (14.5k414) | answered Mar 06 '16, 6:38 p.m.
For UCD questions, please use the dW Answers forum.
https://developer.ibm.com/answers/

Comments
Randall Beck commented Mar 07 '16, 7:14 a.m.

@Donald Nong — this is a Rational Build Forge question.

I want to know if Build Forge has a mechanism to parse a token from a Build Forge step log.  In my example above, I chose a Build Forge step that happens to make a call to a UCD server. But my question would apply to any code in a Build Forge step.


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.