Reputation: 11
We have a main simple pipeline that invokes shared libraries to create the resulting pipeline. This generated pipeline containing the actual pipeline definition based on the current project state will then be executed.
What we want is to analyze the resulting pipeline before (statically) or during the execution (statically or maybe dynamically by instrumenting the runner, but this would be a completely new approach for us).
This, can be easily achieved when the pipeline exists as a Jenkisfile for example, but in this case the pipeline does not exists since it seems to be dynamically generated as it's being executed (lazy).
Is there any valid approach for achieving this?
Upvotes: 0
Views: 68