When testing a new version of your extension, you need to use either use a different ExtensionID or a different PublisherID. And the test extension must be marked public: false. There are multiple ways to make this process easy. I personally use the Azure DevOps Extension Tasks in different ways. For my own private extension … Read more
There isn’t officially released REST API to do that. But you can refer to these steps to achieve your requirements. Get a list of commits to get a commit’s commitId. Get a specific commit with its commitId to get parents value and repository id (The value at the end of _links>Repository>href) (Using the URL of … Read more
Add a parameters.xml to your project, as described here: https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deployment/web-deployment-in-the-enterprise/configuring-parameters-for-web-package-deployment specify parameter there, for example, “myEndpointAddress”. Then in IIS Web Deploy Task use additional arguments to pass the value -setParam:name=”myEndPointAddress”,value=”new_value”
I have a step in a release that gets the Hosted Agent IP address in powershell with: Invoke-RestMethod http://ipinfo.io/json | Select -exp ip Hope that helps.
Is it possible to conditionally set the artifact name in my Azure DevOps build pipeline “publish artifact” task? I am afraid there is no such out of box way to do that. If you want to conditionally set the artifact name, we have to use the nested variables in the pipeline. However, At this moment, … Read more
You need to specify the copy root if you want to copy files only without folder structure. Since the project.exe is in a different path with script.ps1 file, you need to copy them in different copy task. Following the steps below: Add a “Copy Files” step to copy “project.exe”. Settings like following: Add a “Copy … Read more