azure-pipelines-release-pipeline

Include node modules in azure deployment via VSTS

隐身守侯 提交于 2019-12-13 13:28:17
问题 I have an azure app service which I need to deploy through as part of a release definition in VSTS. To provide some context, it is a ASP.NET MVC app and uses Angular 2. It also has a package.json file. I have a VSTS build definition which includes a 'npm install' task to install all dependencies from package.json, so that I don't need to check in all the node modules. At the end of the build the files are dropped to a share without the node_modules folder. I have a corresponding release

Associating WebJob with Web App in Visual Studio & Azure Pipeline

若如初见. 提交于 2019-12-13 04:34:59
问题 I am trying to associate an existing WebJob (created with Azure WebJob template of net461) project, with an existing Web Application, by following https://docs.microsoft.com/en-us/azure/app-service/webjobs-dotnet-deploy-vs link. However, Problem 1 : Visual Studio shows me the "Add->Existing Project as Azure WebJob" the first time, then when I click on that menu, it throws an error saying "command is not applicable for the selected project". After that, it never shows that menu, unless I

Is there a variable to find the last successful deployment to a stage?

牧云@^-^@ 提交于 2019-12-13 03:26:32
问题 When deploying to a stage within a release pipeline, part of the process currently in place is to tidy up from the previous version deployed on that stage, which means telling the current deployment what the previous deployed version was. This is currently being done manually with a custom variable, but it seems like it should be the sort of thing that can be retrieved from the agent. Given a different number of releases with incremented revisions will occur earlier in the pipeline, the

How can I use VSTS to build and release my web app to an FTP server?

假装没事ソ 提交于 2019-12-13 02:56:31
问题 Via VSTS I am trying to automate the following process which is currently performed manually: Within VS 2017 perform a publish to file system. Set settings in web.config. Repeat 1 & 2, for each environment, e.g. Test, UAT, Production, etc. Copy those files to an FTP server. Logon to secure infrastructure, download files from FTP, and copy into place on IIS target servers. The secure infrastructure is locked down, and has limited internet access. The FTP is used as a way to move files into

How to build and deploy SSRS project through VSTS?

蹲街弑〆低调 提交于 2019-12-13 02:29:29
问题 I created simple SSRS project in VS2015. I want to build and deploy the SSRS project using VSTS by creating the build definition and release definition steps. Is there any third party VSTS extension available or for SSRS build and SSRS Deploy not same like as SSIS Build and SSIS Deploy tasks? Can you please tell me how to build and deploy SSRS project through VSTS? 回答1: There is SQL Server Reporting Services Deployment extension. Simple sample tasks: Command Line (Tool: C:\Program Files (x86)

Release Management TFS 2015 - No Parallel Tasks

一个人想着一个人 提交于 2019-12-12 04:25:12
问题 I'm currently in the process of migrating from full fat on site Release Management to the web based version in TFS 2015. One thing I've noticed is that in the old client you can create a deployment sequence and configure actions to run in parallel, for example I might have these two steps running at the same time: SQLServer - DeployDatabase.ps1 AppServer - DeployWebApp.ps1 In the web based version it appears the equivalent of 'Actions' (now being referred to as 'Tasks') can only be set

SQL connection error after deploying through VS team service release management

对着背影说爱祢 提交于 2019-12-12 03:23:36
问题 I have setup build for my WebAPI project through VS team service Builds for continuous integration and I am using VS team service release management continuous deployment to Azure Web App. I am not getting any errors while build or release however when I try to access my Apis through swagger, I get "A network-related or instance-specific error occurred while establishing a connection to SQL Server". Here is what I have as a connection string in VSTS release definition -connectionString @{

Azure U-SQL Continous deployment using VSTS Powershell task

北战南征 提交于 2019-12-11 17:46:54
问题 I'm building CI/CD for my Azure Data lake Analytics - USQL code and facing below error while deploying my release using VSTS Power Shell task. "Access from 'example-app1' is denied. Please grant the user with necessary roles on Azure portal. Trace: 03e7229d-e7ca-43d5-a7be-6e0a3a3b9317" I have created Azure AAD following this link - https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal and created a service End point. I also gave access to

VSTS Where is release management?

时间秒杀一切 提交于 2019-12-11 17:42:16
问题 It looks like some changes were made to VSTS yesterday. Release definitions are no longer visible under the "Build and Release" tab. The 3 options available are Builds, Library and Task Groups. 回答1: This is because of a global azure outage.https://azure.microsoft.com/en-in/status/ 回答2: Due to Service outage, you are unable to find the release management in Build and release in VSTS. You may monitor the Azure Status Page for further updates. Unfortunately we cannot do anything until the

How to set Release Variables scope per Deployment Agent

独自空忆成欢 提交于 2019-12-11 17:04:51
问题 How to set the release variables scope per deployment agent? for example, while setting up IIS Bindings, i need to use different IP on each deployment agent. we can set Release variable scope per deployment group, but not able to find a way to set at the agent level. 回答1: One possible solution might be to set the IP on the agent as an environment variable and then pass the environment variable to the task. 来源: https://stackoverflow.com/questions/53887231/how-to-set-release-variables-scope-per