Package | Description |
---|---|
com.google.api.services.cloudbuild.v1 | |
com.google.api.services.cloudbuild.v1.model |
Modifier and Type | Method and Description |
---|---|
CloudBuild.Projects.Triggers.Run |
CloudBuild.Projects.Triggers.run(java.lang.String projectId,
java.lang.String triggerId,
RepoSource content)
Runs a `BuildTrigger` at a particular source revision.
|
Constructor and Description |
---|
Run(java.lang.String projectId,
java.lang.String triggerId,
RepoSource content)
Runs a `BuildTrigger` at a particular source revision.
|
Modifier and Type | Method and Description |
---|---|
RepoSource |
RepoSource.clone() |
RepoSource |
Source.getRepoSource()
If provided, get the source from this location in a Cloud Source Repository.
|
RepoSource |
SourceProvenance.getResolvedRepoSource()
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
|
RepoSource |
BuildTrigger.getTriggerTemplate()
Template describing the types of source changes to trigger a build.
|
RepoSource |
RepoSource.set(java.lang.String fieldName,
java.lang.Object value) |
RepoSource |
RepoSource.setBranchName(java.lang.String branchName)
Regex matching branches to build.
|
RepoSource |
RepoSource.setCommitSha(java.lang.String commitSha)
Explicit commit SHA to build.
|
RepoSource |
RepoSource.setDir(java.lang.String dir)
Directory, relative to the source root, in which to run the build.
|
RepoSource |
RepoSource.setInvertRegex(java.lang.Boolean invertRegex)
Only trigger a build if the revision regex does NOT match the revision regex.
|
RepoSource |
RepoSource.setProjectId(java.lang.String projectId)
ID of the project that owns the Cloud Source Repository.
|
RepoSource |
RepoSource.setRepoName(java.lang.String repoName)
Required.
|
RepoSource |
RepoSource.setSubstitutions(java.util.Map<java.lang.String,java.lang.String> substitutions)
Substitutions to use in a triggered build.
|
RepoSource |
RepoSource.setTagName(java.lang.String tagName)
Regex matching tags to build.
|
Modifier and Type | Method and Description |
---|---|
Source |
Source.setRepoSource(RepoSource repoSource)
If provided, get the source from this location in a Cloud Source Repository.
|
SourceProvenance |
SourceProvenance.setResolvedRepoSource(RepoSource resolvedRepoSource)
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
|
BuildTrigger |
BuildTrigger.setTriggerTemplate(RepoSource triggerTemplate)
Template describing the types of source changes to trigger a build.
|