Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Artifacts.
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#images
def images() -> ::Array<::String>
-
(::Array<::String>) — 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.
#images=
def images=(value) -> ::Array<::String>
-
value (::Array<::String>) — 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.
-
(::Array<::String>) — 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.
#maven_artifacts
def maven_artifacts() -> ::Array<::Google::Cloud::Build::V1::Artifacts::MavenArtifact>
-
(::Array<::Google::Cloud::Build::V1::Artifacts::MavenArtifact>) — 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.
#maven_artifacts=
def maven_artifacts=(value) -> ::Array<::Google::Cloud::Build::V1::Artifacts::MavenArtifact>
-
value (::Array<::Google::Cloud::Build::V1::Artifacts::MavenArtifact>) — 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.
-
(::Array<::Google::Cloud::Build::V1::Artifacts::MavenArtifact>) — 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.
#npm_packages
def npm_packages() -> ::Array<::Google::Cloud::Build::V1::Artifacts::NpmPackage>
-
(::Array<::Google::Cloud::Build::V1::Artifacts::NpmPackage>) — 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.
#npm_packages=
def npm_packages=(value) -> ::Array<::Google::Cloud::Build::V1::Artifacts::NpmPackage>
-
value (::Array<::Google::Cloud::Build::V1::Artifacts::NpmPackage>) — 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.
-
(::Array<::Google::Cloud::Build::V1::Artifacts::NpmPackage>) — 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.
#objects
def objects() -> ::Google::Cloud::Build::V1::Artifacts::ArtifactObjects
-
(::Google::Cloud::Build::V1::Artifacts::ArtifactObjects) — 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.
#objects=
def objects=(value) -> ::Google::Cloud::Build::V1::Artifacts::ArtifactObjects
-
value (::Google::Cloud::Build::V1::Artifacts::ArtifactObjects) — 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.
-
(::Google::Cloud::Build::V1::Artifacts::ArtifactObjects) — 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.
#python_packages
def python_packages() -> ::Array<::Google::Cloud::Build::V1::Artifacts::PythonPackage>
-
(::Array<::Google::Cloud::Build::V1::Artifacts::PythonPackage>) — 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.
#python_packages=
def python_packages=(value) -> ::Array<::Google::Cloud::Build::V1::Artifacts::PythonPackage>
-
value (::Array<::Google::Cloud::Build::V1::Artifacts::PythonPackage>) — 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.
-
(::Array<::Google::Cloud::Build::V1::Artifacts::PythonPackage>) — 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.