使用Azure网站继续部署& VSO2013 [英] Continues deployment using Azure website & VSO2013
问题描述
您好!
$
我在Azure中继续部署时遇到问题。我有两个订阅我的项目。我在订阅1&中创建了团队项目。使用GITContinuesDeployment执行自动部署。一切都很好,但是当我更改订阅
时,我无法进行自动部署。问题是如何进行部署?我收到以下错误:
$
针对URI的尝试http请求https://management.core.windows.net/....../publishxml返回了未找到错误404。 异常消息:发生了一个或多个错误。 (类型AggregateException)异常堆栈跟踪: at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.ProcessAggregateException(AsyncCodeActivityContext
context,AggregateException ag) at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context,IAsyncResult result) at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext
context,IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,BookmarkManager bookmarkManager)内部异常详细信息:异常消息:
发生一个或多个错误。 (类型AggregateException)异常堆栈跟踪: at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) 在System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()
内部异常详细信息:异常消息:针对URIhttps尝试的http请求://management.core.windows.net /.../publishxm >
返回错误:(404)未找到。 (输入HttpRequestWithUriException)异常堆栈跟踪: at Microsoft.TeamFoundation.Deployment.Workflow.Activities.GetAzureWebsitePublishProfile。<> c__DisplayClass2。< GetApiTask> b__0(Task`1 returnTask)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.Execute()
有人可以帮我吗?
¥ b $ b
$ b问候,
Maryam
Hello!
I have an issue with continues deployment in Azure. I have two subscriptions for my project. I created the team project in Subscription 1 & performed the automatic deployment using GITContinuesDeployment. Everything is fine but while I changed the subscription
I can't do the automatic deployment. The question is how can I do the deployment? I get the following error:
An attempted http request against URI https://management.core.windows.net/....../publishxml returned an error: (404) Not Found. Exception Message: One or more errors occurred. (type AggregateException) Exception Stack Trace: at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.ProcessAggregateException(AsyncCodeActivityContext
context, AggregateException ag) at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext
context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) Inner Exception Details: Exception Message:
One or more errors occurred. (type AggregateException) Exception Stack Trace: at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()
Inner Exception Details: Exception Message: An attempted http request against URIhttps://management.core.windows.net/.../publishxm
returned an error: (404) Not Found. (type HttpRequestWithUriException) Exception Stack Trace: at Microsoft.TeamFoundation.Deployment.Workflow.Activities.GetAzureWebsitePublishProfile.<>c__DisplayClass2.<GetApiTask>b__0(Task`1 returnTask)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.Execute()
Can someone help me with that?
Regards,
Maryam
推荐答案
嗨Maryam,  ;
感谢您的帖子。
你是如何"在Subscription 1中创建团队项目的"?
How did you "created the team project in Subscription 1"?
如果你按照
文档执行部署,请确保您在构建定义中更新了订阅。
If you followed the steps in this document to perform the deploy, please ensure you updated the subscription in your build definition.
这篇关于使用Azure网站继续部署& VSO2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!