Grouping Actions

Check report/import-and-dependencies Import And Dependencies for prerequisites. Use step core method to wrap a set of actions into a group Groovy step("important actions") { actionOne() actionTwo() } Java step("group of actions", () -> { actionOne(); actionTwo(); }); > group of actions . completed group of actions (0ms)

Grouping With Key Value

Pass key values to step to combine step and `trace Groovy step("group of actions", [url: baseUrl, port: myPort]) { actionThree(myPort, baseUrl) } Java step("important actions", map("myPort", myPort, "baseUrl", baseUrl), () -> { actionThree(myPort, baseUrl); }); > important actions myPort: 8080 baseUrl: "http://baseurl" [tracing] action three . completed important actions (0ms)