回報問題open_in_new
查看來源open_in_new
Nightly
這個物件會保留執行建構作業的環境相關資訊。如要進一步瞭解設定的一般概念,請參閱
規則頁面。
成員
coverage_enabled
bool configuration.coverage_enabled
布林值,用於判斷這項執行作業是否已啟用程式碼涵蓋率。請注意,此指令不會計算是否應檢測特定規則,進行程式碼涵蓋率資料收集作業。如需相關說明,請參閱
ctx.coverage_instrumented
函式。
default_shell_env
dict configuration.default_shell_env
代表靜態本機殼層環境的字典。會將變數對應至其值 (字串)。
host_path_separator
string configuration.host_path_separator
傳回 PATH 環境變數的分隔符,也就是 Unix 上的「:」。
test_env
dict configuration.test_env
字典,內容包含使用者指定的測試環境變數及其值 (由 --test_env 選項設定)。請勿使用!這並非完整的環境!