Open falkartis opened 5 years ago
I had a similar issue but when looking at the log I could see the parameter was passed correctly. Not entirely sure why it ended up duplicating it. Maybe a Unity bug.
edit... it does seem to be a unity bug, found this on the forum https://answers.unity.com/questions/622429/i-have-a-problem-the-log-is-couldnt-set-project-pa.html and tried to change the options to add = between the option and the value and it worked just fine.
When I configured Jenkins to perform a Unity3D build without specifying the projectPath it assumed a wrong path. It placed the path of the workspace twice. Like this:
Couldn't set project path to: C:/Program Files (x86)/Jenkins/workspace/MyProject/C:/Program Files (x86)/Jenkins/workspace/MyProject
Also note that I created a pull request to change the html file describing the CLI arguments. Is projectPath argument camelCase?