Build Unity project with Jenkins failed

后端 未结 6 996
[愿得一人]
[愿得一人] 2021-02-05 13:40

I\'m trying to build Unity project with Jenkins on Mac OS Server. But when I try to run the following script

/Applications/Unity/Unity.app/Contents/MacOS/Unity -         


        
6条回答
  •  滥情空心
    2021-02-05 14:22

    I had this same issue. The problem is with how Jenkins and Unity work individually. The only way I could find a cleaner work around was:

    1. Ideally have your Jenkins master only do assignments to slave and do not build anything by itself. So your slaves would build the project.
    2. In case above is not easily doable here is a quick workaround:
      • On your Jenkins master create a slave.
      • Add a label to execute your Unity project on the newly created slave.
      • Configure the job to run on dedicated slave that you created above.
      • All works now!

提交回复
热议问题