Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to trigger a build remotely from jenkins? How to configure git post commit hook?



How to trigger a build remotely from jenkins? How to configure git post commit hook?..

Answer / 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

More Jenkins Interview Questions

What are the advantages of jenkins?

1 Answers   MCN Solutions,


Mention some of the useful plugins in jenkins.

1 Answers  


Why is jenkins called a continuous delivery tool?

1 Answers  


Which scm tools are supported in jenkins?

1 Answers  


What is blue ocean in jenkins?

1 Answers  


What is a continuous delivery pipeline?

1 Answers  


Explain the terms agent, post-section, jenkinsfile

1 Answers  


What is a jenkins pipeline?

1 Answers  


What are parameters in jenkins?

1 Answers  


What is declarative pipeline in jenkins?

1 Answers  


How can you secure jenkins?

1 Answers  


What is agent in jenkins?

1 Answers  


Categories