Closed JPGRodrigues closed 8 years ago
I manually copied script vsts-tfvc-shared.psm1 to the local (build agent) task folder, and the error was corrected. Deployment process has to be revisited.
This is strange... The task itself has the specified file in the vsix and when I execute the build on a clean accoutn the agent installs it and the file shows up. It would be interesting to share the logs from the agent\diag
folder, I may need to raise this with the product team.
There's not much I can do to influence the actual deployment steps other than build the vsix.
My issue my be related to the fact I didn't install the extensions via marketplace. I used tfx build tasks upload!
That would be it.
You need to copy some files around in the build, you should be able to use:
./publish -force -release -publishlocal -serviceurl http://youraccount.visualstudio.com/DefaultCollection
Starting task: Adding files to source control
Executing the powershell script: ****\tasks\TFVCAdd\1.1.69\TfvcAdd.ps1
The specified module '_\tasks\TFVCAdd\1.1.69/vsts-tfvc-shared.psm1' was not loaded because no valid module file was found in any module directory. Adding ItemSpec: _\s\dev\Deployment\drops\biz\MH_BIZ_ProductsCatalog, Recursive: Full, Apply Ignorefile: false
The term 'Invoke-DisposeSourceProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The term 'Get-SourceProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Finishing task: TFVCAdd
Task TFVCAdd failed. This caused the job to fail. Look at the logs for the task for more details. Worker Worker-ea855c1a-4f22-41c9-9e74-0d7278ac0722 finished running job ea855c1a-4f22-41c9-9e74-0d7278ac0722