bolt icon indicating copy to clipboard operation
bolt copied to clipboard

Expose plan/task ID via Bolt API

Open kruegerkyle95 opened this issue 1 year ago • 2 comments

Use Case

It'd be convenient to be able to ascertain the ID the currently running plan or ID of tasks created by the current plan. This could be used to construct the URL to the plan results in the puppet console for example, which could be convenient for more easily reviewing the results of a large complex plan.

Describe the Solution You Would Like

An API that could be called via a function in the plan to collect meta-information about the plan/sub-plans/tasks

kruegerkyle95 avatar May 30 '24 21:05 kruegerkyle95

Are you asking about the pcp transport using plans run with bolt?

donoghuc avatar May 30 '24 22:05 donoghuc

Yep that is what i was referring to

kruegerkyle95 avatar May 31 '24 14:05 kruegerkyle95