Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Inside a Pipeline you can declare a custom macro using the command macro and reuse it by calling the command macro.run.

What is a Pipeline Macro?

A Pipeline Macro or just Macro in short is a single Pipeline Expression which can be declared inside a pipeline using the command macro and then reused at multiple places of the pipeline using the command macro.run. It is similar to a function / method definition . It and its call, but it is limited to the execution of a Pipeline Expression.

If you need to implement an reuse more sophisticated logic, consider to call a sub-pipeline by using the command pipeline.run instead.

...