Table of Contents

Jenkins - (Publisher|Post-Build Action)

About

A publisher is part of the build process other than compilation, for example JUnit test runs.

A publisher may report Jenkins - Build or Jenkins - Build result depending on the result of its processing.

Example

If an Unit test fails, then the whole publisher may report unstable.

Development

See byShortName/Publisher.

build.setResult(Result.UNSTABLE);

Junit Publisher Plugin: https://github.com/jenkinsci/junit-plugin