azure-devops

Hoe to get all work items from Visual Studio Team Services REST API

╄→尐↘猪︶ㄣ 提交于 2021-01-29 00:38:35
问题 I need to fetch 5000> work items on daily basis and need to prepare some report but REST API support only 200 slot at a time and in that case I will have do many call to API. Is there any other way to get all work items at once ??? 回答1: Which version of TFS are you using? If you are using on-premise TFS 2018 or VSTS, then you can use the REST API - Reporting Work Item Revisions - Read Reporting Revisions Get or Reporting Work Item Revisions - Read Reporting Revisions Post to get all the work

Hoe to get all work items from Visual Studio Team Services REST API

做~自己de王妃 提交于 2021-01-29 00:34:24
问题 I need to fetch 5000> work items on daily basis and need to prepare some report but REST API support only 200 slot at a time and in that case I will have do many call to API. Is there any other way to get all work items at once ??? 回答1: Which version of TFS are you using? If you are using on-premise TFS 2018 or VSTS, then you can use the REST API - Reporting Work Item Revisions - Read Reporting Revisions Get or Reporting Work Item Revisions - Read Reporting Revisions Post to get all the work

How to specify Artifact version name in Azure DevOps?

两盒软妹~` 提交于 2021-01-28 20:57:20
问题 I have a build and release pipeline in Azure DevOps. The build has archive and publish steps. And then the release picks up the archives to deploy them. The build has a parameter where I specify the environment, changing some of the build command arguments. So the build can easily create archives for different environments. I then have a release for each environment, but I cannot tell which archive belongs to which environment because the version is determined by today's date plus a number.

How to specify Artifact version name in Azure DevOps?

烈酒焚心 提交于 2021-01-28 20:16:32
问题 I have a build and release pipeline in Azure DevOps. The build has archive and publish steps. And then the release picks up the archives to deploy them. The build has a parameter where I specify the environment, changing some of the build command arguments. So the build can easily create archives for different environments. I then have a release for each environment, but I cannot tell which archive belongs to which environment because the version is determined by today's date plus a number.

Fetching multiple TFS git repo sources with git submodules

怎甘沉沦 提交于 2021-01-28 19:17:36
问题 I'm facing an issue while trying to access different git sources in TFS Build. I have 2 repos Test1 & Test2 - https://tfs.org.com:8080/tfs/collection/project/_git/Test1 (& Test2). Under Test2, I added a sample.txt & .gitmodules file. .GitModules file has a cmd - git submodule add https://tfs.org.com:8080/tfs/collection/project/_git/Test1 (Since I want to checkout Test1 contents too while triggering Test2 repo) Now in Build def (which builds Test2) I checked the option (Checkout Submodules) -

Exception calling “GetFullPath” with 1 argument(s): “The path is not of a legal form.”

≡放荡痞女 提交于 2021-01-28 19:03:49
问题 I have a release configured in Visual Studio Team Services using Release Management to run a SonarQube for MSBuild task. The task starts and then fails with the following error: Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\tasks\SonarQubePreBuild\1.0.29\SonarQubePreBuild.ps1 [error]Exception calling "GetFullPath" with "1" argument(s): "The path is not of a legal form." Is this an error that I'm causing or is this an issue with the task? 回答1

Azure Pipelines agent on Azure VM

时光毁灭记忆、已成空白 提交于 2021-01-28 18:51:15
问题 I am trying to setup a custom build agent on a Windows VM in Azure. I installed the build agent from Azure Pipelines. The VM shows in the agent pool, but is offline. For this VM I used the default settings, so it automatically created a virtual network, public IP, and network security group. The network security group is modified to allow RDP traffic from my IP address only, and to allow HTTPS traffic. I am assuming something with this setup is preventing Azure Pipelines from sending data to

Azure DevOps Trigger Pipelines

混江龙づ霸主 提交于 2021-01-28 14:18:43
问题 I have the code below that runs 3 pipelines but I want to make it so it runs the first one and builds the product and then it runs the other two instead of all of them running at once so do the first one and then do the other 2 after the first one was successful. variables: - group: ReleaseVariables name: 5.8$(rev:.r) jobs: - job: Ring_Web_Policy_Editor timeoutInMinutes: 360 pool: name: DATA-AUTOMATION-WIN10 demands: Cmd steps: - task: TriggerPipeline@1 inputs: serviceConnection: 'azure

Azure DevOps CI/CD not deploying my pipeline triggers in an Active state

ぃ、小莉子 提交于 2021-01-28 14:00:01
问题 My dev ADF has pipeline triggers that are Active and set to run every hour. Using devops repos & CI/CD, I deployed these triggers from our dev to test ADF environments. The pipeline triggers were successfully created in my test environment, but they are inactive. Why are these not coming over in a 'Started' status. The ARM template shows the trigger as Started These need to be turned on automatically after deployment as I don't have rights to turn these on manually. I can't tell if this is a

Azure DevOps CI/CD not deploying my pipeline triggers in an Active state

。_饼干妹妹 提交于 2021-01-28 13:47:18
问题 My dev ADF has pipeline triggers that are Active and set to run every hour. Using devops repos & CI/CD, I deployed these triggers from our dev to test ADF environments. The pipeline triggers were successfully created in my test environment, but they are inactive. Why are these not coming over in a 'Started' status. The ARM template shows the trigger as Started These need to be turned on automatically after deployment as I don't have rights to turn these on manually. I can't tell if this is a