Package version:

The parameters for a docker quick build.

interface DockerBuildRequest {
    agentConfiguration?: AgentProperties;
    agentPoolName?: string;
    arguments?: Argument[];
    credentials?: Credentials;
    dockerFilePath: string;
    imageNames?: string[];
    isArchiveEnabled?: boolean;
    isPushEnabled?: boolean;
    logTemplate?: string;
    noCache?: boolean;
    platform: PlatformProperties;
    sourceLocation?: string;
    target?: string;
    timeout?: number;
    type: "DockerBuildRequest";
}

Hierarchy (view full)

Properties

agentConfiguration?: AgentProperties

The machine configuration of the run agent.

agentPoolName?: string

The dedicated agent pool for the run.

arguments?: Argument[]

The collection of override arguments to be used when executing the run.

credentials?: Credentials

The properties that describes a set of credentials that will be used when this run is invoked.

dockerFilePath: string

The Docker file path relative to the source location.

imageNames?: string[]

The fully qualified image names including the repository and tag.

isArchiveEnabled?: boolean

The value that indicates whether archiving is enabled for the run or not.

isPushEnabled?: boolean

The value of this property indicates whether the image built should be pushed to the registry or not.

logTemplate?: string

The template that describes the repository and tag information for run log artifact.

noCache?: boolean

The value of this property indicates whether the image cache is enabled or not.

The platform properties against which the run has to happen.

sourceLocation?: string

The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

target?: string

The name of the target build stage for the docker build.

timeout?: number

Run timeout in seconds.

type

Polymorphic discriminator, which specifies the different types this object can be