diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 34db1c83ae..07c8a8d24b 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -10,6 +10,7 @@ * Pass additional Azure DevOps `SYSTEM_*` environment variables to Terraform for OIDC authentication: `SYSTEM_COLLECTIONURI`, `SYSTEM_DEFINITIONID`, `SYSTEM_HOSTTYPE`, `SYSTEM_JOBID`, `SYSTEM_TEAMPROJECT` ([#4318](https://github.com/databricks/cli/pull/4318)) * Add support for valueFrom property (similar to app.yaml) inside Apps config field in bundle configuration ([#4297](https://github.com/databricks/cli/pull/4297)) * engine/direct: Support bind & unbind. ([#4279](https://github.com/databricks/cli/pull/4279)) +* Log artifact build output in debug mode ([#4208](https://github.com/databricks/cli/pull/4208)) ### Dependency updates diff --git a/bundle/artifacts/build.go b/bundle/artifacts/build.go index f9c6f810e9..6d89b8c07c 100644 --- a/bundle/artifacts/build.go +++ b/bundle/artifacts/build.go @@ -101,6 +101,8 @@ func doBuild(ctx context.Context, artifactName string, a *config.Artifact) error return fmt.Errorf("build failed %s, error: %v, output: %s", artifactName, err, out) } + log.Debugf(ctx, "build output for %s:\n%s", artifactName, out) + return nil }