Last active
May 25, 2021 14:31
-
-
Save liningtan/58940b1a16903545a584d63e874b0b2e to your computer and use it in GitHub Desktop.
Remote Jenkin build
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
#https://JENKINS_URL/user/username/configure -> API Token | |
#token_auth under BuildItem -> Configure -> Build Trigger -> Trigger builds remotely | |
curl -X POST https://{api_token_name}:{api_token}@JENKINS_URL/job/item/buildWithParameters?token={token_auth}&PARAM=value1&PARAM2=value2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment