Skip to content

git pipelines

Get the most recent GitLab CI pipelines for the current branch.

Usage

fns-cli git pipelines

Flags

FlagDescription
-h, --helpShow 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

StatusColor
runningBlue
successGreen
failedRed
canceledGray
otherYellow

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.