Skip to content

Instantly share code, notes, and snippets.

@samratshaw
Created September 12, 2018 14:47
Show Gist options
  • Save samratshaw/d6ecbd5523db3d938a744c66ee010f1b to your computer and use it in GitHub Desktop.
Save samratshaw/d6ecbd5523db3d938a744c66ee010f1b to your computer and use it in GitHub Desktop.
Medium: Curl showing the Jenkins Authentication API (Using Token)
curl -X POST JENKINS_URL/job/JOB_NAME/build \
--user <USER:TOKEN> \
--data-urlencode json='{"parameter": [{"name":"id", "value":"123"}]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment