| 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(String projectId,
String triggerId,
RepoSource content)
Runs a `BuildTrigger` at a particular source revision.
|
| Constructor and Description |
|---|
Run(String projectId,
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 |
RunBuildTriggerRequest.getSource()
Source to build against this trigger.
|
RepoSource |
BuildTrigger.getTriggerTemplate()
Template describing the types of source changes to trigger a build.
|
RepoSource |
RepoSource.set(String fieldName,
Object value) |
RepoSource |
RepoSource.setBranchName(String branchName)
Regex matching branches to build.
|
RepoSource |
RepoSource.setCommitSha(String commitSha)
Explicit commit SHA to build.
|
RepoSource |
RepoSource.setDir(String dir)
Directory, relative to the source root, in which to run the build.
|
RepoSource |
RepoSource.setInvertRegex(Boolean invertRegex)
Only trigger a build if the revision regex does NOT match the revision regex.
|
RepoSource |
RepoSource.setProjectId(String projectId)
ID of the project that owns the Cloud Source Repository.
|
RepoSource |
RepoSource.setRepoName(String repoName)
Name of the Cloud Source Repository.
|
RepoSource |
RepoSource.setSubstitutions(Map<String,String> substitutions)
Substitutions to use in a triggered build.
|
RepoSource |
RepoSource.setTagName(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.
|
RunBuildTriggerRequest |
RunBuildTriggerRequest.setSource(RepoSource source)
Source to build against this trigger.
|
BuildTrigger |
BuildTrigger.setTriggerTemplate(RepoSource triggerTemplate)
Template describing the types of source changes to trigger a build.
|
Copyright © 2011–2024 Google. All rights reserved.