builds: Showing build history

To list the most recent builds, run:

$ fly -t example builds

To list the builds of a job, run:

$ fly -t example builds -j pipeline-name/job-name

This can be useful for periodically monitoring the state of a job. The output also works well with tools like awk and grep.

By default the most recent 50 builds are shown. To see more builds, use the -c flag, like so:

$ fly -t example builds -c 100