Skip to content

docs: fix Azure Pipelines job and build-task snippets - #26267

Merged
dvdksn merged 1 commit into
docker:mainfrom
DeepanshuPal:docs/fix-azure-pipeline-yaml
Oct 5, 2026
Merged

dvdksn merged 1 commit into
docker:mainfrom
DeepanshuPal:docs/fix-azure-pipeline-yaml

Conversation

@DeepanshuPal

Copy link
Copy Markdown
Contributor

Description

The job and build-task snippets in the Azure Pipelines guide don't parse as YAML. displayName and pool sit outside the job list item, and the build-task list item is indented inconsistently with its fields. Aligns these fragments with the already-valid full pipeline shown at the start of the guide.

Also corrects the stage explanation: the full pipeline places the main-branch condition on the push task, not the stage. The build still runs on pull requests.

Validation

Both original fragments fail PyYAML parsing. Both corrected fragments parse and match the corresponding job/build-task nodes in the full pipeline exactly. A structural assertion verifies that only the push task has the main-branch condition. git diff --check passes.

No Azure pipeline was deployed or run. The full Hugo/Docker validation was not run because those tools are unavailable locally; the changed code blocks were inspected in a browser-rendered extract, not a native site preview.

Co-Authored-By: Claude <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 9aa787e
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6ac1d9199cb6e90008d09f8f
😎 Deploy Preview https://deploy-preview-26267--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dvdksn
dvdksn merged commit b12ed47 into docker:main Oct 5, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants