Expose previous stages metrics to the current job
Problem to solve
With #9788 (closed) we added a report type for metrics, reported at the end of the pipeline in the Merge Request widget
However, as a user, I may want my pipeline to act differently (different tests, alerts, etc.) depending on the results of a given set of metrics. Thus, it would be ideal to have easy access to the metrics in downstream jobs.
Intended users
Persona: DevOps Engineer and Persona: Development Team Lead
Further details
Proposal
- First class support for
- Perhaps the MVC of this is through the API or some other method.
Permissions and Security
Metrics from protected jobs should only be in protected pipelines - but I believe this security will be handled by our default protected pipeline security today.
Documentation
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.