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

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

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,

0 votes



One answer

Permanent link
For UCD questions, please use the dW Answers forum.
https://developer.ibm.com/answers/

0 votes

Comments

@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 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
× 12,026

Question asked: Mar 06 '16, 5:28 p.m.

Question was seen: 2,737 times

Last updated: Mar 07 '16, 10:40 a.m.

Confirmation Cancel Confirm