Created
February 18, 2016 10:50
-
-
Save jbarber/126288f9b72c29a58cac to your computer and use it in GitHub Desktop.
Get all Circle-CI env vars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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