Trigger Hudson build on SVN commit

I have already set up a version control system (Subversion) which is going to be used by developers to commit and update their code (let's say that its address is https://server/svn/project). Only authenticated users will be able to have access to project's SVN.

On the other hand, I have installed Hudson as the project's continuous integration server (address of the project is server:8080/job/project).

I'd like to achieve the following:

  • Hudson builds to be triggered automatically when there is an SVN commit.
  • Mails are sent to the respective developers (the ones that committed code) when their committed code doesn't build, meaning that when user A commits code that doesn't build, only user A gets an email containing the notification.

I have set up matrix-based authorization for Hudson users, because I don't want to be open to anyone.

I have seen some suggestions for post-commit hooks, but none of them worked until now.

Can somebody suggest what to do regarding both issues? Specific steps would be appreciated.

12
задан Matthias Braun 14 January 2019 в 17:57
поделиться