I am trying to figure out how to write a pre-commit hook for Git that checks the status of my Hudson build. If the previous assembly failed, it should not prevent anyone from making transactions without first recording a specific line, for example. "fixed build."
EDIT:
The first responder provided one side of the coin: the Hudson API.
Now I need the other side. How to write a pre-commit hook in Git ?
git github pre-commit-hook continuous-integration hudson
Josh smith
source share