In our company we solved that by using several jenkins build jobs for each project. Here is another thread about this: