WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
117 stars 56 forks source link

MSCRM Publish Customizations it taking long #74

Open IhsanRehman opened 5 years ago

IhsanRehman commented 5 years ago

During CI builds publishing tasks of unmanaged solution is before timing out, is there a way to increase the performance of this task or can you introduce selective publishing, which is possible though only sending solution xml in Inheritance OrganizationRequest --> PublishXmlRequest (SolutionXML)

WaelHamze commented 5 years ago

@IhsanRehman so you only want to publish customizations in a specific solution?

After how long is this timing out? Did you try to increase the timeout?

IhsanRehman commented 5 years ago

my agents are throwing a timeout after 120 minutes for a solution of around 800 kb which not supposed to happen in normal circumstances.

On Sun., 12 May 2019, 1:04 am WaelHamze, notifications@github.com wrote:

@IhsanRehman https://github.com/IhsanRehman so you only want to publish customizations in a specific solution?

After how long is this timing out? Did you try to increase the timeout?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WaelHamze/dyn365-ce-vsts-tasks/issues/74#issuecomment-491518511, or mute the thread https://github.com/notifications/unsubscribe-auth/AMAX5COS6665AGLSFJAW7STPU3N6TANCNFSM4HLWJDFA .

WaelHamze commented 4 years ago

@IhsanRehman this seems like an environment/solution related issue. Solution of this size should not take that long.

Are you still facing this issue?

The PublishXmlRequest only support a number of components. Not even sure if it support entity subcomponents.

https://docs.microsoft.com/en-us/dotnet/api/microsoft.crm.sdk.messages.publishxmlrequest.parameterxml?view=dynamics-general-ce-9