tag

fun tag(tag: String, branch: String? = null): BuildRule

Creates a build rule matching a build with the specified tag in the specified branch

Parameters

tag

tag to use

branch

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