Last updatedDec 18, 2017

How do I search for previous build result?

How do I search for previous build result?

For retrieving history of a build, you should have the BuildResultsSummaryManager injected into your plugin through setter injection. Once that is done there's a series of search methods that you can get a handle on. The most flexible one being findBuildResultsSummaries, where you can have arbitrary search criteria.