How to trigger a build remotely from jenkins? How to configure git post commit hook?
Answer Posted / Abhishek Ranjan
To trigger a build remotely from Jenkins, you can use the Jenkins API. Here's an example of how to do it using curl:ncurl -u YOUR_JENKINS_USER:YOUR_JENKINS_TOKEN https://YOUR_JENKINS_URL/job/YOUR_JOB_NAME/buildnnTo configure a Git post-commit hook, follow the steps provided in the separate answer for question 284671.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category