diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 4088308d8d..7ffac588c7 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -10,6 +10,7 @@ copying directories with the `--recursive` flag. ### Bundles +* 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 }