Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Notice the '' around the username to escape the $ sign
- $queueDefaultAssetsWebjobProjectPath = Resolve-Path -Path $queueDefaultAssetsWebjobProjectPath
- $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"
- Write-Host "Publishing webjob 'QueueDefaultAssetsWebJob' with MSDeploy..."
- iex "&$msBuild $arguments"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement