-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
And the end of our pipeline we report some metrics about the run to a Elasticsearch stack.
The code for accessing the loaded pipelines is kinda ugly.
Run rawBuild = currentBuild.rawBuild def result def action = rawBuild.getAction(org.jenkinsci.plugins.workflow.libs.LibrariesAction.class) if (action != null) { result = [:] for (library in action.libraries) { result[library.name] = library.version } }
An easier way to access these information would be nice