Dinomite-Studios / unity-azure-pipelines-tasks

Azure DevOps extension adding tools to build and deploy Unity 3D projects using Azure Pipelines
https://unitydevops.com/
MIT License
122 stars 50 forks source link

AzureDevops pipeline FAiling task:: Post-job: Activate Unity License #224

Open jambstud opened 1 year ago

jambstud commented 1 year ago

Hello,

I'm using a simple AzureDevops pipeline and alsways is failing at this task: Post-job: Activate Unity License

Any recommendation to pass it over?

Pipeline looks :

stages:

image

kristen-movares commented 1 year ago

Just recently having this exact same issue, in the post-job it tries to activate the already active license (resulting in a exit 1 error) only after doing that it seems to run unity again to actually return the license which it does successfully. Eventually the build finishes with the 1 error resulting in an incorrect result of a faild build.

218 seems to be related

jambstud commented 1 year ago

@kristen-movares do you know if any work around is available for this ? thanks

o-litnon commented 1 year ago

if you're using powershell already... there's a workaround here: https://github.com/o-litnon/AzurePipelineUnityTasks