Thursday, 15 May 2014

Run Powershell script on TFS server for publish to Azure -



Run Powershell script on TFS server for publish to Azure -

i seek configure tfs continuous delivery azure by article in article tfs published bundle azure powershell script. when build starts errors objectnotfound: (set-azuredeployment:string) [], commandnotfoundexception. looks didn't install azure cmdlets, install web platform installer. , when seek run script locally on server - works , deploys package.

in article powershell starts adding invokeprocess template filename="powershell".

i think don't run powreshell correctly. maybe has ideas command should use?

find solution

powershell cann't find azure module. add together before import-module azure command in script

$env:psmodulepath=$env:psmodulepath+";"+"c:\program files (x86)\microsoft sdks\windows azure\powershell"

powershell azure tfs build-definition

No comments:

Post a Comment