Created
June 7, 2017 16:25
-
-
Save andykuszyk/ac8613cea39b4c0db812dac3c01fef73 to your computer and use it in GitHub Desktop.
jenkins-api-python
This file contains hidden or 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
import requests | |
requests.post('http://{}/job/{}/buildWithParameters?{}={}'.format( | |
jenkins_url, | |
job_name, | |
parameter_name, | |
parameter_value | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment