azure-pipelines-build-task

Remove files and foldes on Azure before a new deploy from VSTS

痴心易碎 提交于 2019-11-27 02:06:50
As part of my build process in VSTS I want to delete all files and folders (except af few) from my azure site before a new deploy. My guess is, that using a Azure Powershell script would be a good idea and I would prefer making an inline script. I am using Azure Resource Manager as connection type, I have selected my subscription and script type (Inline Script) but then I am lost, how do i select my app service and, for a start, list my files? Trying just, this for a test, only gives my files in my VSTS environment Get-ChildItem -Path $(build.sourcesDirectory) First, it’s better to include the

Visual studio team services deploymen/buildt certificate error

空扰寡人 提交于 2019-11-26 11:31:43
问题 I am trying to build a click-once application using the Continuous integration and deployment feature in VSTS (Visual studio team services Online)We are trying to build this using the Hosted agent Visual studio 2015 We had difficulties signing the strong name key file with an error of MSB3326: Cannot import the following key file: xxxx.snk. The key file may be password protected. To correct this, try to import the certificate again or import the certificate manually into the current user\'s

Remove files and foldes on Azure before a new deploy from VSTS

旧时模样 提交于 2019-11-26 09:58:43
问题 As part of my build process in VSTS I want to delete all files and folders (except af few) from my azure site before a new deploy. My guess is, that using a Azure Powershell script would be a good idea and I would prefer making an inline script. I am using Azure Resource Manager as connection type, I have selected my subscription and script type (Inline Script) but then I am lost, how do i select my app service and, for a start, list my files? Trying just, this for a test, only gives my files