Skip to content

Instantly share code, notes, and snippets.

@bborysenko
Last active December 13, 2018 11:41
Show Gist options
  • Save bborysenko/8b7c7ae0d617c709443e39c5f43ca1c3 to your computer and use it in GitHub Desktop.
Save bborysenko/8b7c7ae0d617c709443e39c5f43ca1c3 to your computer and use it in GitHub Desktop.
Jenkins
#!/usr/bin/env bash
JENKINS_CRUMB=$(curl -u ${JENKINS_USER}:${JENKINS_PASSWORD} ${JENKINS_URL}/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment