Created
September 12, 2018 14:47
-
-
Save samratshaw/d6ecbd5523db3d938a744c66ee010f1b to your computer and use it in GitHub Desktop.
Medium: Curl showing the Jenkins Authentication API (Using Token)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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