ms-release-management

The account running the TFS build service (NT AUTHORITY\NETWORK SERVICE) needs to be added as a system user in the Release Management Server

半城伤御伤魂 提交于 2019-12-08 03:51:01
问题 I am receiving the above error when attempting to trigger a release from my build. The build works on its own, and the release works on its own, but I cannot trigger the release. My problem is that there is no such thing as a system user in Release Management. There is a Service User, and the above user is set as a Service User. It's also set as a Release Manager. It is also in the Project Collection Administrators group in TFS and has the "Make requests on behalf of others" permission. I've

What permissions are required for a Release Management 2013 vNext release using Powershell

时光毁灭记忆、已成空白 提交于 2019-12-08 00:24:37
问题 I've configured the deployment to a web server using a service account. On the target machine remote powershell is enabled and the account has been added to the Remote Management Users group. I initiate a release and the following error occurs. If I add the service account to the local Administrators group on the web server then it succeeds. I can reproduce the same error by remoting into the web server, under the service account, and attempting to call get-service . System.AggregateException

How do I get a TFS build to precompile a web application using a saved publish profile?

瘦欲@ 提交于 2019-12-07 10:16:58
问题 I'm currently running a CI build and deploy using TFS 2013 for the build and Release Management 2013 for the deployment, though I need the web applications (WebForms) that I'm deploying to be precompiled. I'm looking to use a publish profile to drive the precompilation before the output is copied to the drop location, but I haven't found anything that has been able to do this yet. After finding How do I configure MSBuild to use a saved publishProfile for WebDeploy? , I set up a publish

MS Release Management- Release template build definition is empty

余生颓废 提交于 2019-12-07 04:14:25
First time i am trying to access the build definition from release template and the dropdowns are empty. Please note, my RM client is connected to a TFS and it's listed under Administration > Manage TFS. Did I miss any permission setting? I have installed RM server and client in the build server, now I am able to access the build definition. Previously there were no domain trust between build server and RM installed server, but I was able to connect TFS. Issue was related to domain trust I believe...! 来源: https://stackoverflow.com/questions/25622361/ms-release-management-release-template-build

What permissions are required for a Release Management 2013 vNext release using Powershell

穿精又带淫゛_ 提交于 2019-12-06 10:30:47
I've configured the deployment to a web server using a service account. On the target machine remote powershell is enabled and the account has been added to the Remote Management Users group. I initiate a release and the following error occurs. If I add the service account to the local Administrators group on the web server then it succeeds. I can reproduce the same error by remoting into the web server, under the service account, and attempting to call get-service . System.AggregateException: Cannot open Service Control Manager on computer '.'. This operation might require other privileges.

How to deploy to Azure Resource Group using VSTS release management

做~自己de王妃 提交于 2019-12-06 08:15:40
问题 I am new to Visual Studio Team Services Release Management. My goal is to automate a deployment of an ASP.NET MVC application to the Azure App Service. Trying different approaches, I created a Service Endpoint that is certificate based and one that uses a service principal (SPN). My build definition already builds a web deploy package, and the release definition is linked against that and can use this artifact. Success 1: A deployment of the app using the Azure Web App Deployment Task already

The account running the TFS build service (NT AUTHORITY\\NETWORK SERVICE) needs to be added as a system user in the Release Management Server

让人想犯罪 __ 提交于 2019-12-06 06:16:49
I am receiving the above error when attempting to trigger a release from my build. The build works on its own, and the release works on its own, but I cannot trigger the release. My problem is that there is no such thing as a system user in Release Management. There is a Service User, and the above user is set as a Service User. It's also set as a Release Manager. It is also in the Project Collection Administrators group in TFS and has the "Make requests on behalf of others" permission. I've done everything I think I need to do in order to get this to work. The only thing I can think of is

Release Management sets builds to Retain Indefinitely

北慕城南 提交于 2019-12-06 05:02:42
问题 We are using Microsoft's Release Management tool for automating the deployment of our solution to our various dev servers. This tool is ideal for us because it can perform more complicated deployments that span multiple servers. In this sense, it is working fine and everything is deploying correctly. A minor issue is that after Release Management automatically deploys a build, it sets the build to "Retain Indefinitely" which is indicated by the Lock icon. Since we are doing continuous

How do I get a TFS build to precompile a web application using a saved publish profile?

血红的双手。 提交于 2019-12-05 15:10:20
I'm currently running a CI build and deploy using TFS 2013 for the build and Release Management 2013 for the deployment, though I need the web applications (WebForms) that I'm deploying to be precompiled. I'm looking to use a publish profile to drive the precompilation before the output is copied to the drop location, but I haven't found anything that has been able to do this yet. After finding How do I configure MSBuild to use a saved publishProfile for WebDeploy? , I set up a publish profile in my web application that will precompile the web application if I use msbuild.exe using the

VSTS Release - Define custom variable in web.config and set at release time

落爺英雄遲暮 提交于 2019-12-05 04:52:52
I am trying to replace an appSetting at release time using VSTS Release. All post on the web refer to the old release management tool or refer to the new one but mention the replace tokens task. This task does not exist so I presume it is built in. I have set up my web.config ( MyVar ) and set up my environment variables but nothing gets replaced. And here is my release: I apologise if I am being stupid but I just can't work this out, mostly due to out of date documentation. Update 2: Ok so after some help from a couple of people I am now on the right track with this. I have added the Colin's