Onthe node(s) you are going to build Unity projects, add at least oneunity3d installation (Manage Jenkins -> Global Tool Configuration) andconfigure the location of the Unity3d installation. This location is bydefault /Applications/Unity/Unity.app on Mac OS X andC:\Program Files (x86)\Unity on Windows. The plugin will automaticallysuffix the installation path with the proper executable location.
The Unity Editor can only perform one build at a time on a givenprojectPath. If you want to run multiple builds in parallels for thesame project, you will need to create multiple jobs, each with theirworkspace.
Add the Unity3d build step to a free-style project, select the unity3dinstallation and set your command line arguments (e.g.-quit -batchmode -executeMethod MyEditorScript.PerformMacOSXBuild). Ifyou do not specify -projectPath (case-sensitive), the plugin will usethe current workspace. You may want to add an extra step to clean theproject before you build to make sure the build starts in a clean state.
3a8082e126