Badgr Pipeline Check for Azure PipelinesBadgr Pipeline Check helps teams understand why Azure Pipelines fail. It runs on every build, checks failed tasks, slow steps, risky commands, leaked secrets, and common YAML/config issues, then writes a clear report to the build summary or console. Local rule-based checks run by default with no Badgr API key. AI is optional and only used when a build fails and the failure is ambiguous or low-confidence. From AI Badgr. What Badgr checksFailure diagnosis Finds common Azure build failures such as missing packages, test failures, TypeScript errors, Docker errors, dependency conflicts, timeouts, and permission problems. Pipeline health Flags slow steps, long install/test stages, retry patterns, and bottlenecks. Security scan Looks for secret-like values, broad permissions, sudo usage, curl | bash, and --privileged flags. Config audit Checks for missing timeouts, unpinned versions, :latest images, and hardcoded values in YAML. Quick startRule-based checks run without any credentials:
Install modesMinimal — rule-based checks only No credentials needed. Badgr runs all four checks using available task metadata and build context:
With Pass
To enable: Pipeline → Edit → ⋯ → Triggers → Allow scripts to access the OAuth token With Add
Full — richer logs, PR comments, and AI
Self-hosted — no logs sent to aibadgr.com
How it worksOn every build, Badgr runs four rule-based checks locally — no API calls:
AI is called only when:
Health, security, and audit checks are always rule-based — they never call AI. If the AI call fails, the rule-based report is still written. PermissionsNo BADGR_API_KEY: Runs local rule-based Pipeline Check only. No AI call. No SYSTEM_ACCESSTOKEN: Runs best-effort Azure checks using available task metadata/context and any provided log or pipeline file. With SYSTEM_ACCESSTOKEN: Badgr can fetch richer Azure task logs from Azure DevOps APIs and post/update PR thread comments. With BADGR_API_KEY: Badgr can use AI only for ambiguous failed builds after logs are redacted. Self-hosted: Point BADGR_API_URL at your internal Badgr container so logs are not sent to aibadgr.com. Start free with local checks. Add Azure OAuth for richer logs. Add a Badgr key for AI on ambiguous failures. Use self-hosted for private environments. Hosted and self-hostedHosted mode: Logs are redacted locally before any API call. AI is only contacted when needed. Self-hosted mode: Run the Badgr Pipeline Check container inside your network. Logs are sent only to your own container and optionally your own model endpoint. Output modes
If What Badgr does not do
Example output
FAQDoes Badgr require an API key?No. The default Pipeline Check runs local rule-based checks without a Badgr API key. When is AI used?AI is only used when a build failed, a Badgr API key or private provider is configured, and the local failure score is ambiguous or low-confidence. Does Badgr send logs to AI Badgr every run?No. Health, security, and audit checks are local. Known failures are handled locally. Logs are only sent for optional AI escalation when needed. Does Badgr auto-fix code?No. Badgr reports findings and suggested fixes. It does not modify code, rerun pipelines, or merge PRs. Can I keep logs inside my network?Yes. Use the self-hosted Badgr Pipeline Check container and set BADGR_API_URL to your internal endpoint. Requirements
Support
LicenseApache-2.0 |