Kubernetes :: Pipeline :: Kubernetes Steps

buildImage: Builds a Docker Image

Builds a docker image.
name
The The name of the docker image.

Type: String

email (optional)
This email will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

ignorePatterns (optional)

java.util.ArrayList

password (optional)
The This password will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

path (optional)
The The path of the folder that contains the docker image.

Type: String

rm (optional)
The Flag to remove intermediate layers.

Type: boolean

timeout (optional)
The The amount of time to wait for the build to complete.

Type: long

username (optional)
The This username will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

pushImage: Pushes a Docker Image

Pushes a docker image to a docker registry.
name
The The name of the docker image.

Type: String

email (optional)
This email will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

password (optional)
The This password will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

registry (optional)
The Explicitly specify a remote registry if not present in the image repository.

Type: String

tag (optional)

Type: String

timeout (optional)
The The amount of time to wait for the push to complete.

Type: long

username (optional)
The This username will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

tagImage: Tags a Docker Image

Tags a docker image.
name
The The name of the docker image.

Type: String

tag
The The tag.

Type: String

email (optional)
This email will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

force (optional)

Type: boolean

password (optional)
The This password will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

repo (optional)
The The image repository in which the tag will be created.

Type: String

username (optional)
The This username will be used in the fallback docker auth config object, that will be used if matching configuration is found for the registry.

Type: String

withPod: Run build steps in a Pod

Builds a docker image.
name
The The name prefix of the pod.

Type: String

image
The The container image.

Type: String

serviceAccount
The The service account of the pod.

Type: String

privileged
The Flag to mark the container as privileged.

Type: boolean

secrets
The The list of secrets. Secrets are passed in the form of key/value pairs, where key represents the secret name and value the mount path.

Nested Choice of Objects

hostPathMounts
The The list of host path mounts. These mounts are passed in the form of key/value pairs, where key represents the host path and value the mount path.

Nested Choice of Objects

emptyDirs
The The list of empty dir mounts. These mounts are passed in the form of key/value pairs, where key represents the mount pathvalue the medium.

Nested Choice of Objects

env
The The environment variables to pass to the container.

Nested Choice of Objects