Download Github Plugin For Jenkins For Mac

  

This plugin allows to configure a cloud of Mac in Jenkins configuration.

Download Github Plugin For Jenkins For Mac

Jan 21, 2020 Plugin to configure Macs as Jenkins agents. Contribute to jenkinsci/mac-plugin development by creating an account on GitHub. Download GitHub Desktop and try again. Index of /download/plugins. Name Last modified Size Description; Parent Directory - AnchorChain/ 2020-03-08 11:05.

Mac

Like docker and kubernetes plugins does, you can configure your builds to run on a cloud of Mac.

All builds are independent and there is a restricted space dedicated to read and write to this single build. This space is removed at the end of the build so that no traces remain on the machine.

Plugin configuration

In jenkins global configuration, add a new Mac Cloud :

Github Plugin Jenkins

Configure fields of Mac Cloud :

Select JNLP for the connector and refer your Jenkins URL. This URL must be accessible by outside, localhost is not working.

Add a new Mac Host and fill the properties in the fields :

The number of simultaneous builds on the same Mac Host depends of the property 'Max users'.More you have Mac Hosts configured, more you can build simultaneous on many machines.For best usage I recommend a limit of 3.

The supported credentials for now is User and Password.Put an account of your mac with sudo NOPASSWORD configured.

After it refers the label of your agent.Select JNLP for the connector and refer your Jenkins URL. This URL must be accessible by outside, localhost is not working.

Download Github Plugin For Jenkins For Mac Download

In a project configuration, refers the label :

Logs configuration

You can define a custom LOGGER to log every output of the plugin on the same place.To do it, go to System logs in the Jenkins configuration :

Configure the Logger of the plugin :

Jenkins Github Api Key

Save your configuration.

Execution

Download Github Plugin For Jenkins For Mac Windows 10

After configuration, when you run a job with a Mac Cloud label, it will create a jenkins agent on the mac you setted as host and run the build on it.

Download Github Plugin For Jenkins For Mac Windows 10

You can see it on the home page of Jenkins :