git pipelines
Get the most recent GitLab CI pipelines for the current branch.
Usage
fns-cli git pipelinesFlags
| Flag | Description |
|---|---|
-h, --help | Show help |
Output
Lists the last 10 pipelines for the current branch, each showing:
- Status (color-coded)
- Relative time since last update (e.g.
3 min ago,2 hr ago) - Duration in seconds, if under 1 minute
Status colors
| Status | Color |
|---|---|
running | Blue |
success | Green |
failed | Red |
canceled | Gray |
| other | Yellow |
Tips
- The GitLab project namespace and project ID are inferred automatically from the git remote URL. The project ID is cached locally to avoid repeated API calls.
- This command is also called automatically at the end of
fns-cli git merge-request.
