title: Build Unity project with Jenkins failed
body: <p>I'm trying to build Unity project with Jenkins on Mac OS Server.
  But when I try to run the following script</p>
  
  <pre><code>/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode ${PROJECT_PATH} -executeMethod BuildScript.DevelopmentBuild
  </code></pre>
  
  <p>The script shows this,</p>
  
  <blockquote>
    <p>_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.</p>
  </blockquote>
  
  <p>Does anyone knows how to fix the problem?</p>