Skip to main content
Version: 5.11.x

BazelConfiguration

Configuration for Bazel properties.

Table of contents

Properties

Properties

auto_add_bazelrc_file

auto_add_bazelrc_file: boolean = true

If true, automatically add the bazelrc file to the invocation when Workflows detects the file next to the configuration file.

If setting this at the root or workspace level, the file is resolved relative to the current workspace.


auto_bazelrc_file

auto_bazelrc_file: string = 'bazelrc'

Name of the default bazelrc file to add to the invocation. This file should be located next to this configuration file, and will be added automatically if it exists, unless BazelConfiguration.autoAddBazelRcFile is set to false.


bazel_debug_assistance

bazel_debug_assistance: boolean = false

If true, Workflows will enable a number of flags and archive extra files that can help debug a number of bazel issues on CI.


flags

flags: readonly string[] = []

List of Bazel flags to be applied to each invocation.


rcfiles

rcfiles: readonly string[] = []

A set of bazelrc files that will be set on each task.