Skip to content

Instantly share code, notes, and snippets.

@abtris
Created August 10, 2011 13:30
Show Gist options
  • Select an option

  • Save abtris/1136802 to your computer and use it in GitHub Desktop.

Select an option

Save abtris/1136802 to your computer and use it in GitHub Desktop.
Jenkins getUSER
USER="$(wget -nv --no-proxy "$BUILD_URL/api/xml"'?xpath=//userName/text()' -O -)"
echo $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment