SourceBuild
Resource Icon

Resource Overview
SourceBuild is a service that allows you to easily build source code developed in various languages. It creates independent build servers in real time and can process multiple build execution requests simultaneously.
Associated Resources
Parent Resources
Connected Resources
Resource Configuration
Basic Settings
description: Build project description (up to 500 characters)source_type: Build target type -SourceCommitsource_branch: Name of the branch to buildlinked_repository_name: Name of the repository to build
Build Environment Settings (env)
env.env_compute_spec: Build computing environment specification -2cpu-4memory,4cpu-8memory,8cpu-16memoryenv.env_platform_type: Build environment image type -SourceBuild,ContainerRegistry,PublicRegistryenv.env_platform_os_spec: OS specification to useenv.env_platform_runtime_name: Build runtime nameenv.env_platform_runtime_version: Build runtime versionenv.target_registry_name: Name of the container registry where the build image will be storedenv.target_container_image_name: Name of the container image to createenv.target_container_image_tag: Tag of the container image to createenv.env_timeout: Maximum build wait time (minutes) -5~540env.env_use_docker: Whether to use the Docker engine -true,falseenv.env_docker_engine_version: Docker engine versionenv.env_var: Environment variables to use during the build (key-value)
Build Commands (build_command)
build_command.pre_build_command: List of commands to execute before the buildbuild_command.in_build_command: List of commands to execute during the buildbuild_command.post_build_command: List of commands to execute after the buildbuild_command.use_docker_image_build_command: Whether to use Docker image build -true,falsebuild_command.docker_image_build_registry: Name of the container registry to store the imagebuild_command.docker_image_dockerfile: Path to the Dockerfilebuild_command.docker_image: Name of the image to uploadbuild_command.docker_image_build_tag: Tag of the image to upload
Logs and Security
enable_cloud_log_analytics: Whether to store build logs in Cloud Log Analytics -true,falseenable_file_safer: Whether to perform security inspection using File Safer -true,false
Build Artifact Storage (artifact)
artifact.save_build_results: Whether to save build results -true,falseartifact.path_to_save_build_results: Path to save build resultsartifact.object_storage_name_to_save: Object Storage bucket nameartifact.object_storage_path_to_save: Object Storage bucket pathartifact.file_name_to_save: Name of the file to saveartifact.enable_backup_build_results: Whether to back up build results -true,false
Image Upload (upload)
upload.upload_build_results: Whether to store build environment images -true,falseupload.container_registry_name_to_upload_build_results: Name of the container registry to upload imagesupload.image_name_to_upload: Name of the image to uploadupload.image_tag_to_upload: Tag of the image to upload