lastSuccessful

fun lastSuccessful(branch: String? = null): BuildRule

Creates a build rule matching the last successful build in the specified branch

Parameters

branch

branch to use, if not specified only builds from the default branch are matched