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

Tool Installer Latest Version #106

Closed jheaddings closed 5 years ago

jheaddings commented 5 years ago

Dearest Wael,

I am troubleshooting an issue with one of our deployments and it seems to be coming down to a specific version of the Microsoft.CrmSdk.CoreTools. I see that the tool installer is on 9.0.133 but when i run the tool installer it shows 9.0.12. It looks like you have upgraded the CoreTools recently to a version that I have tested and confirmed fixes our issue, but when I run the import solution task or the ping task the issue is still present. I'm wondering if the tool installer is bringing in the right version.

Here is the log from the tool installer. If needed i can expand upon my deployment woes, but for now I'll start with this. :)

2019-08-17T01:19:05.5300583Z ##[debug]Evaluating condition for step: 'MSCRM Tool Installer' 2019-08-17T01:19:05.5301455Z ##[debug]Evaluating: succeeded() 2019-08-17T01:19:05.5301571Z ##[debug]Evaluating succeeded: 2019-08-17T01:19:05.5301904Z ##[debug]=> True 2019-08-17T01:19:05.5302131Z ##[debug]Result: True 2019-08-17T01:19:05.5302350Z ##[section]Starting: MSCRM Tool Installer 2019-08-17T01:19:05.5423909Z ============================================================================== 2019-08-17T01:19:05.5423977Z Task : MSCRM Tool Installer 2019-08-17T01:19:05.5424010Z Description : Installs the Dynamics 365 tools required by all of the tasks 2019-08-17T01:19:05.5424044Z Version : 9.0.12 2019-08-17T01:19:05.5424076Z Author : Wael Hamze 2019-08-17T01:19:05.5424128Z Help : Tools are installed under {agentroot}/_work/tools. e.g 'D:\Agent1_work\tools\MSCRMBuildTools\9.0.1' 2019-08-17T01:19:05.5424196Z ============================================================================== 2019-08-17T01:19:06.4944430Z ##[debug]VstsTaskSdk 0.10.0 commit 787a46ec0a2df5b4d12c2e801bd3f319975c054c 2019-08-17T01:19:06.6345050Z ##[debug]Entering MSCRMToolInstaller.ps1 2019-08-17T01:19:06.6447323Z ##[debug]Script Path: D:\a_tasks\MSCRMToolInstaller_04ad1c72-5e49-4686-8a3a-dda6948b0fcd\9.0.12 2019-08-17T01:19:06.6484011Z ##[debug]env VSTS_TOOLS_PATH: 2019-08-17T01:19:06.6578195Z ##[debug]env AGENT_WORKFOLDER: D:\a 2019-08-17T01:19:06.6578749Z Using Tools Path: D:\a\tools 2019-08-17T01:19:06.6579358Z ##[debug]Framework Cache: D:\a\tools\MSCRMBuildTools 2019-08-17T01:19:06.6697547Z 2019-08-17T01:19:06.6698272Z 2019-08-17T01:19:06.6701772Z Directory: D:\a\tools 2019-08-17T01:19:06.6701863Z 2019-08-17T01:19:06.6702883Z 2019-08-17T01:19:06.6712051Z Mode LastWriteTime Length Name
2019-08-17T01:19:06.6715655Z ---- ------------- ------ ----
2019-08-17T01:19:06.6720544Z d----- 8/17/2019 1:19 AM MSCRMBuildTools
2019-08-17T01:19:06.7803369Z Copy completed 2019-08-17T01:19:06.7809246Z ##[debug]Processed: ##vso[task.setvariable variable=MSCRM_Tools_Path]D:\a\tools\MSCRMBuildTools\9.0.1 2019-08-17T01:19:06.7832926Z ##[debug]Leaving MSCRMToolInstaller.ps1 2019-08-17T01:19:06.7834508Z 2019-08-17T01:19:06.7834693Z 2019-08-17T01:19:06.8088561Z ##[section]Finishing: MSCRM Tool Installer

WaelHamze commented 5 years ago

@jheaddings looks like the the extension is not getting updated in your account. Might be worth raising this with MS.

jheaddings commented 5 years ago

It looks like our DevOps no longer had your tools installed....weird. But once I reinstalled them, the tasks got updated.

Thanks!

WaelHamze commented 5 years ago

@jheaddings good to know maybe pipeline was caching old version