RepoSource constructor
Creates a new RepoSource.
branchName 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
commitSha Explicit commit SHA to build.
dir 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.
invertRegex Only trigger a build if the revision regex does NOT match the revision regex.
project ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
repoName Name of the Cloud Source Repository.
substitutions Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
tagName 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
Implementation
const RepoSource({
this.branchName,
this.commitSha,
this.dir,
this.invertRegex,
this.project,
this.repoName,
this.substitutions,
this.tagName,
});