Winvision / vsts-tasks

Winvision Build and Release Tasks for Azure DevOps and DevOps Server
MIT License
3 stars 4 forks source link

Error: Parameter 'toolPath' cannot be null or empty. #34

Closed bahadir-be closed 1 year ago

bahadir-be commented 2 years ago

image

I faced the above problem, any idea?

rahim3216 commented 2 years ago

Facing the same issue. image

wynandjordaan commented 2 years ago

Duplicate of https://github.com/Winvision/vsts-tasks/issues/33

Arodriguez81 commented 2 years ago

In the meantime what we can do is to do it from cli until they fix it.

Create a powershell task to download dt. Invoke-WebRequest -Uri "https://github.com/Azure/azure-documentdb-datamigrationtool/releases/download/1.8.3/azure-documentdb-datamigrationtool-1.8.3.zip" -OutFile "$(System.DefaultWorkingDirectory)\dt-1.8.3.zip" Unzip it steps:

task: ExtractFiles@1
displayName: 'Extract files '
inputs:
archiveFilePatterns: '$(System.DefaultWorkingDirectory)/dt-1.8.3.zip'
destinationFolder: '$(System.DefaultWorkingDirectory)/dt-1.8.3'
***Command line
cd $(System.DefaultWorkingDirectory)/dt-1.8.3/azure-documentdb-datamigrationtool-1.8.3
dt (copy the command from desktop version view command once you have the connections setup and pasted here.)
*** Run pipeline
Nimtz89 commented 1 year ago

Duplicate of #33 , PR opened to fix issue