Skip to content

Instantly share code, notes, and snippets.

@jontg
Created March 24, 2014 17:48
Show Gist options
  • Save jontg/9745396 to your computer and use it in GitHub Desktop.
Save jontg/9745396 to your computer and use it in GitHub Desktop.
REST=https://teamcity.relateiq.com/...
for id in $(echo $BUILDS | jq -r '.builds | map(.id) | @sh'); do
curl -u $username:$password -XGET $REST/id:$id/artifacts/VERSION
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment