ms-release-management

Connect Deployment Agent to Visual Studio Online if not part of domain

笑着哭i 提交于 2019-12-11 16:41:21
问题 I'm installing the Microsoft Deployment Agent 2013 onto an Azure VM. In order to connect to my Release Management Server ( Visual Studio Online in my case ) I need to authenticate either as local system or with a custom account: So with my credentials - I am validated to use the Release Management Service, but I cannot connect with them to the Release Management Server: I, 2015/02/04, 16:50:11.245, User [ME] is system, Admin I, 2015/02/04, 16:50:11.260, Validated account to use as identity

How to get logs into the Tool Log in Release Management for Visual Studio

偶尔善良 提交于 2019-12-11 11:52:16
问题 In the Release Management for Visual Studio Deployment log, which can be found under the Details button found when viewing the details of a release, there are a number of columns. The last three of these are Tool Log, Command Output and Status. I have never seen anything in Tool Log, but I am in the situation now where I have a component running tests using vstest.console.exe. Under "Command Output", I see the output from this program as it appears in the console window. However, vstest

VSTS: Deploy Azure SQL DACPAC Release Management throwing an error

徘徊边缘 提交于 2019-12-11 06:04:56
问题 I am trying to setup VSTS release management for my Azure SQL database. I am using the "Deploy Azure SQL DACPAC" task. Path to the dacpac file is setup as $(System.DefaultWorkingDirectory)\**\*.dacpac While the database updates correctly I get an error in the end that causes the task to fail. "System.Management.Automation.ParentContainsErrorRecordException: *** Could not deploy package" It looks like all the updates are applied to the database but the task still throws an error. Log below

Maintain password for TFS Release Management

爱⌒轻易说出口 提交于 2019-12-11 05:09:05
问题 I'm developing Release pipeline for our internal LOB applications using TFS 2015 Update2 Release Management. There are various tasks like "Windows Machine File Copy" and "Run PowerShell on Target machines" which needs admin credentials to be passed as input parameters. These admin credentials have Administrative access on target nodes. I'm using Windows service accounts for these. We have an organizational security policy to rotate passwords every year. With that in mind, it is cumbersome to

How to access an artifact's BUILDNUMBER is Visual Studio Team Services Release management

↘锁芯ラ 提交于 2019-12-11 03:17:18
问题 I need to access the build number of the artifact within Visual Studio Team Services Release Management, so that I can send the value to a Task. My artifact name has a space in it: "Production Branch" I have been reading the following documentation. https://www.visualstudio.com/en-us/docs/release/author-release-definition/understanding-artifacts#variables The documentation states that it can be accessed like this: RELEASE_ARTIFACTS_[source-alias]_[variable-name] e.g. RELEASE_ARTIFACTS

vNext Build and Release Manager

笑着哭i 提交于 2019-12-10 11:54:38
问题 We are using TFS 2015. I'd like to create a build and then trigger a release (with RM). We have a webproject and a wpf app. Inside of the code we have compiler directives (#if DEBUG). And the config transformation has to be executed. My approach was to create a build for Debug and Release, publish it and copy it to a drop folder. Can anyone tell me what is the best way to achieve this? Thank you in advance. 回答1: If you want to trigger an agent-based release, you can use a custom build task:

Work items associated with releases

a 夏天 提交于 2019-12-10 11:53:18
问题 I have a vNext release that is triggered by a gated check-in build. The associated changeset is linked with an work item. What I have to check in order to have the linked work item displayed in the Change Summary tab of the release as in this link? 来源: https://stackoverflow.com/questions/30193673/work-items-associated-with-releases

VSTS REST API to change security permissions on Release definition or Release definition environment

时光总嘲笑我的痴心妄想 提交于 2019-12-08 16:26:27
I cannot find any documentation referring to VSTS REST API to change security for Release Definition or Release Definition environment. I am trying to create an automation script to create a Release definition which will accept user list as a parameter and assign limited permission on the Release Definition and Release Definition environment. Is there any way of doing this? There isn’t the REST API to change permission of release definition or release environment. I submit a user voice that you can vote. REST API for release defintion or release enviornment 来源: https://stackoverflow.com

How to pass Azure credentials to a Release Management deployment script on a secure manner?

倖福魔咒の 提交于 2019-12-08 10:45:07
问题 What I want to accomplish: I want to deploy an Azure Cloud Service via Release Management. I managed to get this working by following the steps outlined in this post. In the post the Azure publishsettings file is added to the project and used in Release Management to deploy the Azure package to a Cloud Service. So far so good. What is the issue: The Azure publishsettings file will also contain information about the production environment. I don't want that information to be available to all

MS Release Management- Release template build definition is empty

为君一笑 提交于 2019-12-08 05:06:46
问题 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? 回答1: 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