jenkinsci / benchmark-plugin

Benchmark plugin to compare boolean and numerical results between runs.
https://plugins.jenkins.io/benchmark/
MIT License
7 stars 6 forks source link

Pipeline usage example #15

Closed magik6k closed 6 years ago

magik6k commented 6 years ago

PR https://github.com/jenkinsci/benchmark-plugin/pull/1 added the support for pipelines, but it seems there are no docs on how to use it it a pipeline.

Would be great to have some pipeline examples in https://github.com/jenkinsci/benchmark-plugin/blob/master/doc/HOW_TO_USE_THE_PLUGIN.md.

magik6k commented 6 years ago

Found this: https://jenkins.io/doc/pipeline/steps/benchmark/, would be great to reference it somewhere here

damercie commented 6 years ago

I believe that the page https://jenkins.io/doc/pipeline/steps/benchmark/ is automatically generated the moment a plugin has pipeline support. Personally, when making pipelines, I usually use the pipeline syntax editor which provides a copy of a plugin section from the job configuration page and deliver the equivalent 'Step' script.

damercie commented 6 years ago

I will add the reference.

damercie commented 6 years ago

Thank you