| Package | Description |
|---|---|
| com.google.api.services.cloudbuild.v1.model |
| Modifier and Type | Method and Description |
|---|---|
BuildStep |
BuildStep.clone() |
BuildStep |
BuildStep.set(String fieldName,
Object value) |
BuildStep |
BuildStep.setAllowExitCodes(List<Integer> allowExitCodes)
Allow this build step to fail without failing the entire build if and only if the exit code is
one of the specified codes.
|
BuildStep |
BuildStep.setAllowFailure(Boolean allowFailure)
Allow this build step to fail without failing the entire build.
|
BuildStep |
BuildStep.setArgs(List<String> args)
A list of arguments that will be presented to the step when it is started.
|
BuildStep |
BuildStep.setAutomapSubstitutions(Boolean automapSubstitutions)
Option to include built-in and custom substitutions as env variables for this build step.
|
BuildStep |
BuildStep.setDir(String dir)
Working directory to use when running this step's container.
|
BuildStep |
BuildStep.setEntrypoint(String entrypoint)
Entrypoint to be used instead of the build step image's default entrypoint.
|
BuildStep |
BuildStep.setEnv(List<String> env)
A list of environment variable definitions to be used when running a step.
|
BuildStep |
BuildStep.setExitCode(Integer exitCode)
Output only.
|
BuildStep |
BuildStep.setId(String id)
Unique identifier for this build step, used in `wait_for` to reference this build step as a
dependency.
|
BuildStep |
BuildStep.setName(String name)
Required.
|
BuildStep |
BuildStep.setPullTiming(TimeSpan pullTiming)
Output only.
|
BuildStep |
BuildStep.setScript(String script)
A shell script to be executed in the step.
|
BuildStep |
BuildStep.setSecretEnv(List<String> secretEnv)
A list of environment variables which are encrypted using a Cloud Key Management Service crypto
key.
|
BuildStep |
BuildStep.setStatus(String status)
Output only.
|
BuildStep |
BuildStep.setTimeout(String timeout)
Time limit for executing this build step.
|
BuildStep |
BuildStep.setTiming(TimeSpan timing)
Output only.
|
BuildStep |
BuildStep.setVolumes(List<Volume> volumes)
List of volumes to mount into the build step.
|
BuildStep |
BuildStep.setWaitFor(List<String> waitFor)
The ID(s) of the step(s) that this build step depends on.
|
| Modifier and Type | Method and Description |
|---|---|
List<BuildStep> |
Build.getSteps()
Required.
|
| Modifier and Type | Method and Description |
|---|---|
Build |
Build.setSteps(List<BuildStep> steps)
Required.
|
Copyright © 2011–2024 Google. All rights reserved.