Hudson/Jenkins CI - One master launch slaves wait for them to finish then compile results
===

Im new to Hudson/Jenkins and I need to know the best way of achieving the following:

1. Have one master project.
2. The master project adds jobs to a queue then kicks off several slave and waits.
3. The slaves pop messages from the queue, does some processing and produces some files.
4. When the queue is empty the master gathers the files from all the slaves and stores them 
as artifacts.
5. The master will also need to know if one of the slaves fails and will be able to report on the status of each slave.

Cheers.