Skip to content

Fix malformed YAML in ci-build.yml Configure Maven settings step#1368

Merged
gavinbarron merged 1 commit into
mainfrom
ramsessanchez/fix-ci-build-yaml-indentation
Jul 13, 2026
Merged

Fix malformed YAML in ci-build.yml Configure Maven settings step#1368
gavinbarron merged 1 commit into
mainfrom
ramsessanchez/fix-ci-build-yaml-indentation

Conversation

@ramsessanchez

@ramsessanchez ramsessanchez commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes malformed YAML in .azure-pipelines/ci-build.yml.

In the Configure Maven settings step, the first three PowerShell lines (, , ``) were at column 0 instead of being indented into the pwsh: | block scalar. Block-scalar content must be indented deeper than its parent key, so those column-0 lines broke YAML parsing.

Change

Indented those three lines to 18 spaces to align with the rest of the script block (e.g. \ = @").

Validation

  • yaml.safe_load() now parses the file successfully (previously failed).
Microsoft Reviewers: Open in CodeFlow

The first three PowerShell lines in the 'Configure Maven settings' step
were at column 0 instead of being indented into the 'pwsh: |' block
scalar, which broke YAML parsing. Indent them to align with the rest of
the script block.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ca8303b0-dcb7-467f-9d6b-7f68da829576
@ramsessanchez ramsessanchez requested a review from a team as a code owner July 13, 2026 23:22
@gavinbarron gavinbarron merged commit 6c08d0d into main Jul 13, 2026
10 checks passed
@gavinbarron gavinbarron deleted the ramsessanchez/fix-ci-build-yaml-indentation branch July 13, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants