Comments
6 comments
-
Is this error in one of the plugins like TFS or Jenkins? I know with TFS you can specify it to use a specific version or the latest version of the cmdlets. I would assume setting latest version will make it try and check for new versions.
-
Hi PeterDaniels,
As requested if you still need assistance on this could you please elaborate on your setup and we can assist further. -
Hi @Dan B. Apologies for the delay in my reply. This was using powershell cmdlets in a powershell script - not a CI plugin. So, the question is how to turn off powershell gallery check in the individual cmdlets.
-
I believe the following page covers this https://documentation.red-gate.com/sca3/getting-started/installation/installing-powershell-components.
Do you have either- Update-Module SqlChangeAutomation -AcceptLicense
- Install-Module SqlChangeAutomation -Scope CurrentUser -AcceptLicense
In your build script? -
No, but I do have
Import-Module SQLChangeAutomation
in the script. -
Hi Peter,
Apologies for the delay as I have been checking this with the team.At present, you can't change this behaviour within the tool. The best thing to do would be to use the team's uservoice page here https://redgate.uservoice.com/forums/267000-sql-change-automation to suggest this as an improvement.
Add comment
Please sign in to leave a comment.
...