RepoSourceResponse

data class RepoSourceResponse(val branchName: String, val commitSha: String, val dir: String, val invertRegex: Boolean, val project: String, val repoName: String, val tagName: String)

Location of the source in a Google Cloud Source Repository.

Constructors

Link copied to clipboard
fun RepoSourceResponse(branchName: String, commitSha: String, dir: String, invertRegex: Boolean, project: String, repoName: String, tagName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

Link copied to clipboard

Explicit commit SHA to build.

Link copied to clipboard
val dir: String

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

Link copied to clipboard

Only trigger a build if the revision regex does NOT match the revision regex.

Link copied to clipboard

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Link copied to clipboard

Name of the Cloud Source Repository.

Link copied to clipboard

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax