Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.04 KB

File metadata and controls

18 lines (11 loc) · 1.04 KB

ParaMetrics: publish any parameter as a build statistic Build Status

ParaMetrics is a TeamCity plugin that lets you publish any parameter value as a build statistic. To do this, add ParaMetrics as a build feature to your build, specifying which parameter should be published under what statistics key name.

You can add this build feature multiple times.

Technical notes

If the parameter is unset when the build finishes, the statistic is not published.

The statistics are published in the "build finished" phase (see BuildServerAdapter.buildFinished()).

Development notes

To build, test, and package the plugin, run mvn package from the root directory.

To deploy the plugin, copy para-metrics.zip into the TeamCity plugin directory and restart the server. If you've built locally, get the zip file from target/para-metrics.zip; otherwise grab the latest released version.