JetBrains / teamcity-unity-plugin

TeamCity plugin supports building Unity projects
Apache License 2.0
81 stars 38 forks source link

Use Unity plugin to gather build information #8

Open dtretyakov opened 5 years ago

dtretyakov commented 5 years ago

Currently this plugin uses log files to get build output and test reports file to import test results.

We could try using Unity plugins extensibility to get the same kind of data in a more reliable way: https://docs.unity3d.com/Manual/RunningEditorCodeOnLaunch.html

Also it allows to provide Unity test reporting in a real time.

ArtOfSettling commented 5 years ago

We actually have a unity editor extension that does just that : https://www.assetstore.unity3d.com/#!/content/119621

(I appreciate there is a naming overlap with dotPeek ;))

The extension allows for automated runs and allows for users who build with unity to get automatic build data through either programmatic access or file access (we dump a json file).

I'd be more than happy to talk with you about potential approaches to having this functionality built into the teamcity-unity-plugin, if you had any questions, since we've already done it! :)