diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index ed03a4adc7..c384f1410a 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -15,6 +15,7 @@ * Add `ipykernel` to the `default` template to enable Databricks Connect notebooks in Cursor/VS Code ([#4164](https://github.com/databricks/cli/pull/4164)) * Add interactive SQL warehouse picker to `default-sql` and `dbt-sql` bundle templates ([#4170](https://github.com/databricks/cli/pull/4170)) * Add `name`, `target` and `mode` fields to the deployment metadata file ([#4180](https://github.com/databricks/cli/pull/4180)) +* 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 }