Skip to content

Instantly share code, notes, and snippets.

@didip
Last active December 10, 2015 14:18
Show Gist options
  • Save didip/4446715 to your computer and use it in GitHub Desktop.
Save didip/4446715 to your computer and use it in GitHub Desktop.
Grab Jenkins project names from cc.xml
curl --silent http://your.jenkins/cc.xml | grep -o '<Project[^>]*/>' | grep -o 'name="[^"]*"' | cut -f2 -d'"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment