MyGet Blog

Package management made easier!

NAVIGATION - SEARCH

Automatically trigger a MyGet build using an HTTP POST hook

In addition to manually triggering a build within MyGet, it’s also possible to automatically trigger a build every time code is committed to your source control repository, by making use of HTTP POST hooks.

Once you have fully configured a build source for your MyGet feed, you will be able to manually trigger a build whenever you like. However, if you are trying to adopt the Continuous Integration Software Development Practice, then automatically triggering a MyGet Build whenever you commit some code to source control is one of the first steps in doing this.

The HTTP POST hook URL is a mechanism to allow your Source Code Repository to notify MyGet Build Services (via an HTTP POST to the given URL) when a commit has occurred. As soon as this has happened, a new build will automatically be triggered.

MyGet user gep13 has written a detailed tutorial on working with Build Services and HTTP POST hooks on our documentation website.

Happy packaging!

blog comments powered by Disqus