Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. # Notice the '' around the username to escape the $ sign
  2. $queueDefaultAssetsWebjobProjectPath = Resolve-Path -Path $queueDefaultAssetsWebjobProjectPath
  3. $arguments= "$queueDefaultAssetsWebjobProjectPath /p:Configuration=Release /p:DeployOnBuild=true /p:DeployTarget=MsDeployPublish /p:MsDeployServiceUrl=$($configuration.ApiPublishingUrl) '/p:UserName=$($configuration.ApiPublishingUserName)' /p:Password=$($configuration.ApiPublishingPassword) /p:DeployIisAppPath=$($configuration.ArmParameters.AppServiceApiName) /p:SkipExtraFilesOnServer=true"
  4.  
  5. Write-Host "Publishing webjob 'QueueDefaultAssetsWebJob' with MSDeploy..."
  6. iex "&$msBuild $arguments"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement