azure-devops

Azure Devops nuget artifact feed and docker

馋奶兔 提交于 2021-01-20 12:34:14
问题 Is there a good way to create an authentication mechanism to Devops to be able to access the artifact NuGet feed? I would like to create a base image for my team that would allow them to just pull an image from our Azure Container Registry that has access to our devops nuget feed. Ideally people wouldn't have to have the same stock dockerfile code in every single project that grabs a PAT from their host build system. This would also allow us to CICD this a little more nicely. My current

How to add an existing Area to an existing Team?

家住魔仙堡 提交于 2021-01-16 04:19:18
问题 I have an Area that I've created using the SDK, and I have a Team. How can I, using the SDK, add that Area to the Team? It's simple enough to do so with an Iteration, using the WorkHttpClient.PostTeamIterationAsync() method (code below), but there's no corresponding method available to do the same with an Area. I looked briefly at the method's source code, but it contains a GUID indicating the target location (Iterations). If I can avoid it, I'd rather not risk getting down to that level by

How to change Appsettings and Config info in Release Pipeline

蓝咒 提交于 2021-01-07 01:28:38
问题 I’m fairly new to implementing CI/CD through Azure DevOps and I have what is probably a typical scenario that I’m not sure how to address. Most of the articles I’ve found dealing with file transformation deal with IIS Deploy but I’m currently working with .Net Framework console apps. In my console apps we have certain settings, usually file paths, that are different based on the environment we are in (Dev, Stage, Prod) as well as the database connection string being different in each

devops REST API: can not update work item status using PATCH method

杀马特。学长 韩版系。学妹 提交于 2021-01-05 14:38:04
问题 I am using DevOps restapi to get some information. The POST method is working fine for me. I want to update the status of my work item. For that I need to use the PATCH method. Which is not working, and not giving any kind of error. https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/work%20items/update?view=azure-devops-rest-5.1 function postApiData(ApiUrl, responseBody) { var res = ''; try { $.ajax({ type: 'POST', async: false, url: ApiUrl, contentType: 'application/json', data: JSON

devops REST API: can not update work item status using PATCH method

我与影子孤独终老i 提交于 2021-01-05 14:37:50
问题 I am using DevOps restapi to get some information. The POST method is working fine for me. I want to update the status of my work item. For that I need to use the PATCH method. Which is not working, and not giving any kind of error. https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/work%20items/update?view=azure-devops-rest-5.1 function postApiData(ApiUrl, responseBody) { var res = ''; try { $.ajax({ type: 'POST', async: false, url: ApiUrl, contentType: 'application/json', data: JSON

How to change work item icons in on-premise Azure DevOps 2019

本秂侑毒 提交于 2021-01-05 10:14:34
问题 As the title says, how can I change the icons of work items? Currently they are all a blue clipboard with a tick in it, and I would like to more easily distinguish between bugs, tasks, user stories when viewing certain lists in the project portal. The project collection was recently imported from TFS2012, if that makes a difference. I think they were originally "MSF for Agile" 5.0 or 6.2 processes. On a related note, how can I tell which process a particular project is using? And can it be

How to change work item icons in on-premise Azure DevOps 2019

六眼飞鱼酱① 提交于 2021-01-05 10:13:35
问题 As the title says, how can I change the icons of work items? Currently they are all a blue clipboard with a tick in it, and I would like to more easily distinguish between bugs, tasks, user stories when viewing certain lists in the project portal. The project collection was recently imported from TFS2012, if that makes a difference. I think they were originally "MSF for Agile" 5.0 or 6.2 processes. On a related note, how can I tell which process a particular project is using? And can it be

In azure devOps, how to duplicate dashboard in a project

喜夏-厌秋 提交于 2021-01-04 09:21:24
问题 I have created a dashboard in my project and I insert widgets to show team progresses. Currently, there are 2 teams in the dashboard and they each have 8 widgets. I want to split them so that each team have their own personal dashboard. Since I don't want to actually make it from scratch I want to duplicate it and just delete the other team's widget in each of their new personal dashboard. Is there any documentation of how to do this or is it currently not possible? EDIT 1 Here is My Current

Skip stage with manual approval in Azure DevOps Pipelines (YAML)

邮差的信 提交于 2021-01-04 06:42:07
问题 For our Terraform Deployment, we use an Azure DevOps pipeline that has 3 stages: plan apply (manual approval) test For the apply stage we use a deployment job with an environment that has a manual approval (check). What we would like to have is "skipping" the apply and test stage, if the plan stage has shows no changes. Therefore we try to use the following yaml configuration for the apply stage: - stage: ApplyShared dependsOn: PlanShared jobs: - job: CheckSharedChanges steps: - task:

Azure DevOps REST API - How are Picklists associated with Field?

我的未来我决定 提交于 2021-01-04 05:42:16
问题 I am trying to use rest to create fields and picklists, on the web site I created a field as type picklist String and added some items to the list: Rest url for field: https://dev.azure.com/{org}/_apis/work/processes/{processId}/workitemtypes/CMMI2.Bug/fields/Custom.AppType?api-version=5.0-preview.2 it is returning this: { referenceName: "Custom.AppType", name: "AppType", type: "string", description: "", url: "https://dev.azure.com/{org}/_apis/work/processes/bd96307e-3d16-44ac-b498