ArtifactsArgs

data class ArtifactsArgs(val images: Output<List<String>>? = null, val mavenArtifacts: Output<List<MavenArtifactArgs>>? = null, val npmPackages: Output<List<NpmPackageArgs>>? = null, val objects: Output<ArtifactObjectsArgs>? = null, val pythonPackages: Output<List<PythonPackageArgs>>? = null) : ConvertibleToJava<ArtifactsArgs>

Artifacts produced by a build that should be uploaded upon successful completion of all build steps.

Constructors

Link copied to clipboard
constructor(images: Output<List<String>>? = null, mavenArtifacts: Output<List<MavenArtifactArgs>>? = null, npmPackages: Output<List<NpmPackageArgs>>? = null, objects: Output<ArtifactObjectsArgs>? = null, pythonPackages: Output<List<PythonPackageArgs>>? = null)

Properties

Link copied to clipboard
val images: Output<List<String>>? = null

A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.

Link copied to clipboard
val mavenArtifacts: Output<List<MavenArtifactArgs>>? = null

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

Link copied to clipboard
val npmPackages: Output<List<NpmPackageArgs>>? = null

A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.

Link copied to clipboard
val objects: Output<ArtifactObjectsArgs>? = null

A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE.

Link copied to clipboard
val pythonPackages: Output<List<PythonPackageArgs>>? = null

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.

Functions

Link copied to clipboard
open override fun toJava(): ArtifactsArgs