Skip to content

Commit 856c1a7

Browse files
committed
Consolidate URLs at top of skill output
🤖 Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 067191a commit 856c1a7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

  • .claude/skills/troubleshoot-ci-build

.claude/skills/troubleshoot-ci-build/SKILL.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,12 @@ The script automatically:
158158
```markdown
159159
# CI Failure Analysis for Build <BUILD_ID>
160160

161-
**Build**: [<BUILD_NUMBER>](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=<BUILD_ID>)
162161
**Status**: ❌ Failed
162+
**Build**: [<BUILD_NUMBER>](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=<BUILD_ID>)
163+
164+
**PR**: [#<PR_NUMBER>](https://github.com/DataDog/dd-trace-dotnet/pull/<PR_NUMBER>) _(if PR-triggered)_
163165
**Branch**: `<source_branch_name>` _(use `triggerInfo["pr.sourceBranch"]` for PR builds instead of `sourceBranch`)_
164166
**Commit**: `<commit_sha>`
165-
**Finished**: <timestamp>
166167

167168
## Quick Overview
168169

@@ -221,9 +222,6 @@ This downloads the `.received.txt` snapshot artifacts from CI and replaces your
221222
2. **View specific logs** - Download logs for failed tasks
222223
3. **Show full analysis** - Run complete analysis with all details
223224
4. **Update snapshots** - Download and apply updated snapshots from this build _(shown only when snapshot failures detected)_
224-
225-
[View build in Azure DevOps](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=<BUILD_ID>&view=logs)
226-
[View PR #<PR_NUMBER> in GitHub](https://github.com/DataDog/dd-trace-dotnet/pull/<PR_NUMBER>) _(if PR-triggered)_
227225
```
228226

229227
**Resolving PR number**: When invoked with `build <BUILD_ID>`, extract the PR number from the build details JSON:

0 commit comments

Comments
 (0)