Skip to content

Instantly share code, notes, and snippets.

@jbarber
Created February 18, 2016 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbarber/126288f9b72c29a58cac to your computer and use it in GitHub Desktop.
Save jbarber/126288f9b72c29a58cac to your computer and use it in GitHub Desktop.
Get all Circle-CI env vars
TOKEN=9dfca6a9b51a2a8e50b8abb35728690381f8e9b1
for i in *; do
URL=https://circleci.com/api/v1/project/rainforestapp/$i/envvar?circle-token=$TOKEN
curl -s -H "Accept: application/json" $URI | grep d7d6 && echo $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment