Background
Our current infrastructure consists of a Jenkins master and a number of slave VM's. We are running into a lot of scalability and inherently stability issues with our tests as the VM's are being overworked.
Mesosphere and Jenkins
That being said, I'm looking to explore more solutions, particularly with mesosphere because its ability to dynamically generate slaves as needed.
My only issue with that is that we have all these dependencies installed on the slave VM's. In order to make Jenkins work on mesos, I would have to "dirty" the mesos slaves by installing the dependencies on them. This would kind of render these mesos slaves useless as they would only be suited for running Jenkins.
Question
What is the proper method of implementing a Jenkins environment in Mesos alongside other applications?