Search code examples
jenkins-pluginsmesos

Jenkins with Mesos for Non container Tasks


My usecase would be running jenkins jobs on windows slaves where I have mesos agents running. The jenkins-mesos plugin that is available spins up jenkins slave as containers. Is there any jenkins plugin out there which will connect jenkins master to mesos master & run the jobs on agents without any containers ?


Solution

  • By default, the Jenkins slaves are run in the default Mesos container. To run the Jenkins slave inside a Docker container, there are two options.


    The MesosContainerizer currently does not provide any actual resource isolation (similar to running the Mesos agent on POSIX).


    default Mesos container is working on Windows so there shoul not be any problem to run Jenkins on Windows with Mesos. You need to install Java on agents.