August 2018
Intermediate to advanced
416 pages
12h 37m
English
Let us use the jq command-line utility in order to compute some metrics with information provided by the CircleCI API. One thing we may want to find is all the builds that have passed in the project. We can do this with the jq command by using the map and select built-in functions in jq (https://stedolan.github.io/jq/manual/#Builtinoperatorsandfunctions).
In the following screenshot, we get the build summary for the last 30 builds and then only show the build that actually passed:

Here, we run the jq utility with two different queries:
Read now
Unlock full access