PowershellGallery.ps1 error in Build
PajamaSam
Posts: 2 New member
Hello,
I am receiving an error when doing a DLM automation build.
Am I supposed to have a 'PowershellGallery.ps1' script in that location? I am running Powershell v5.1 and have the PSGallery repo and powershellGet:
I am receiving an error when doing a DLM automation build.
'...\_tasks\RedgateDlmAutomationBuild\2.0.24\PowershellGallery.ps1' is not recognized as the name of a cmdlet...
It seems to be coming from this part in the 'DlmAutomationBuild.ps1' script.. (Join-Path $PSScriptRoot PowershellGallery.ps1)
Am I supposed to have a 'PowershellGallery.ps1' script in that location? I am running Powershell v5.1 and have the PSGallery repo and powershellGet:
Tagged:
Best Answer
-
Mike U Posts: 316 Gold 1Sorry about that. We had a packaging error in that release of the VSTS extension, and that file was missed out. We released another build, 2.0.25 soon after that should have fixed the problem.Development Lead
Redgate Software
Answers
Under VSTS, the tasks should auto-update. For TFS, you'll have to manually update, following Microsoft's instructions: https://docs.microsoft.com/en-us/vsts/marketplace/get-tfs-extensions?view=tfs-2018
Redgate Software
Redgate Software
I wonder if there is some sort of progressive roll out? When I check the Initialize Job task it just says:
"2018-05-22T14:42:16.0429930Z ##[section]Starting: Initialize Job
I'm really not sure why it's not updating to 2.0.25 though. I'm not aware of any progressive rollout, unless it's something Microsoft does from their end.
Redgate Software
Yes, that worked. I'm really puzzled as to why it isn't updating too. Especially since it updated from 23 to 24.
Thanks for the help.