Enabling the Jenkins Mesos plugin
In this recipe, you will learn how to enable the Mesos Jenkins plugin and configure a job to be run on Mesos.
Getting ready
We assume you have built the Mesos Jenkins plugin. You will also need the Mesos cluster.
How to do it...
- The first step is to install the Mesos Jenkins plugin. To do so, navigate to the Plugin Manager by clicking
Manage Jenkins
|Manage Plugins
, and select theAdvanced tab
. You should see the following screen:
- Click
Choose file
and select the previously built plugin to upload it. Once the plugin is installed, you have to configure it. To do so, go to the configuration (Manage Jenkins
|Configure System
). At the bottom of the page, the cloud section should appear. Fill in all the fields with the desired configuration values:
- If you now disable
Advanced On- demand framework registration
, you should see the Jenkins Scheduler registered in the Mesos frameworks.
Note
Remember to configure Slave username
to the existing system user on Mesos agents...