### SBT Build Commands Source: https://github.com/databrickslabs/overwatch/blob/main/Building.md Common SBT commands for cleaning the project and packaging it, with an additional command for creating an assembly JAR. ```shell sbt clean package ``` ```shell sbt clean assembly ``` -------------------------------- ### Create ApiEnv Object for API Testing (Scala) Source: https://github.com/databrickslabs/overwatch/blob/main/src/test/scala/com/databricks/labs/overwatch/README_APITEST.md This snippet demonstrates how to create an ApiEnv object, a prerequisite for enabling API tests in the Overwatch environment. It requires the workspace URL and a Personal Access Token (PAT). ```scala val apiEnv = ApiEnv(false, , , pkgVr) ``` -------------------------------- ### Configure Build.sbt for Overwatch Tests Source: https://github.com/databrickslabs/overwatch/blob/main/src/test/README_PipelinePackage.md This snippet shows how to configure the Build.sbt file to enable testing in the Overwatch environment. It sets up test execution to fork processes and defines environment variables for the Overwatch environment, PAT token, and test environment. ```scala fork in Test := true envVars in Test := Map("OVERWATCH_ENV" -> " ", "OVERWATCH_TOKEN" -> " ", "OVERWATCH" -> "") ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.