Skip to content

Commit 42d9bda

Browse files
authored
Update pipeline analysis workflow in SKILL.md to clarify artifact usage (#37)
- Clarify GitLab artifact workflow: only use artifacts when logs indicate output redirection - Split artifact commands into separate list and grep steps with clearer descriptions
1 parent 0c4a8d4 commit 42d9bda

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

skills/smith/SKILL.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ Use `--help` on any command for flags.
6868
6. **Report** only what the retrieved evidence supports and cite `URL`.
6969

7070
### Pipeline Analysis
71-
1. Use `smith pipelines list <repo> <pipeline_id> --status failed` to focus on failed jobs.
72-
2. Once you know the pipeline log ID, use `smith pipelines grep <repo> <pipeline_id> <log_id> --reverse` to analyze the logs.
73-
3. For GitLab artifact-backed failures, use `smith <gitlab-remote-name> pipelines artifacts list <group/project> <pipeline_id> <job_id>` and then `... artifacts grep ... "<regex>"`.
71+
1. Use `smith <remote> pipelines list <scope> <pipeline_id> --status failed` to focus on failed jobs.
72+
2. Once you know the pipeline log ID, use `smith <remote> pipelines grep <scope> <pipeline_id> <log_id> --reverse` to analyze the logs.
73+
3. **For GitLab** if pipeline logs indicate that output was redirected to a file then:
74+
- Use `smith <remote> pipelines artifacts list <group/project> <pipeline_id> <job_id>` to enumerate archive paths.
75+
- Use `smith <remote> pipelines artifacts grep <group/project> <pipeline_id> <job_id> "<regex>"` to search within the artifacts.
76+
7477
## Stop Conditions
7578

7679
Stop narrowing and answer when any of these is true:

0 commit comments

Comments
 (0)