Per-month or per-minute billing of Azure Devops Pipelines parallel jobs - azure-devops

My question is, are the number of parallel DevOps jobs charged per-second, per-minute, or only per month?
Especially when evaluating setups (we're in the process of migrating from a TeamCity rig), we try different configurations of cloud-hosted vs self-hosted agents, and compare performance vs maintenance work and pricing.
So, say we use 15 cloud-hosted build agents for a week, and then 15 on-prem ones the next week, and then scale back to 2-3 of each for the rest of the month, will we be charged a full month for both 15 on-prem and 15 cloud agents, or do you divide the charge in sub-months, so that we could get charged for 1/4 of a month for each of the 15 on-prem and cloud-hosted agents?
It's difficult to tell from the documentation. Azure Support told me on Twitter to ask in the MSDN forums, here: https://learn.microsoft.com/en-us/answers/questions/263527/per-month-or-per-minute-billing-of-azure-devops-pi.html
But, then I found this answer, which says that DevOps is no longer suppoerted on there: https://social.msdn.microsoft.com/Forums/en-US/72cfd507-06a9-4a43-82d5-58b1eb48df56/azure-devops-pipelines-pricing-and-usage-running-on-deployment-groups?forum=AzureStack

We tested this because we need more deployment agents for 1-2 days once per month. We use Microsoft Hosted agents and they are charged per day. So we did increase the number of agents in the middle of the day and decreased back the next day and the increased charge happened for 2 days which was verified on the billing costs in Azure:
https://learn.microsoft.com/en-us/azure/devops/organizations/billing/billing-faq?view=azure-devops#q-how-much-am-i-currently-spending-on-azure-devops
If you want to verify this yourself, this shows up in Azure > Cost Management > Cost Analysis.
And filter over Service Name: Azure Devops.

Related

Azure DevOps Pipelines: Back to free tier from paid agent?

We are currently on the free tier of Azure DevOps which comes with 1800 free build minutes per month.
As we sometimes hit resource constraints and witness a lot of variation on the build runtime we are considering switching to a paid agent hoping that we will get more performance or at least consistency on the hosted build servers compared to the free tier.
If the paid agent does not come up to our expectation, is there a way to get back to the free tier?
If the paid agent does not come up to our expectation, is there a way to get back to the free tier?
Yes, you can simply change the Paid parallel jobs to 0 to remove the paid agents.
Or remove billing will also remove the paid agents.
Yes, you can return to the free tier, you just have to take into account the cut-off date of your bill

azure devop project stats longer than 30 days?

In azure devop, we can see the project stats, for example this one. But it is only showing upto 30 days activities.
I am wondering if there is a way (maybe some API call) to show activities over a whole year? We area trying to do a end of year report for big boss and would be nice to show how many deployments we done,how many PR were completed etc over the whole year.
By checking the API that it called behind the scenes, you should have something like
https://ORG.visualstudio.com/GUI/_apis/build/Metrics/Daily?minMetricsTime=2021-11-05T13%3A08%3A08.556Z
You can manipulate this value on browser and change the date to an older one for example (2020-12-16)
As I am not working with an Azure Devops repos for long time I cannot test the behavior, but it maybe work.

Azure Boards - How to find over booked team member in sprint

We've recently started using Azure Boards and Sprints. Say we have two Team members, each with 20 hours a week capacity, 2 week sprint. Total team sprint capacity is then 80 hours. Now lets say I have 80 hours of tasks, 60 are assigned to team member A, 20 to team member B. Accident of course, but where in Azure Boards can we discover this aside from adding up each task effort remaining?
The sprint seems very team based, looking for some audit tools to balance the workload properly. TIA.
What you are looking for is captured on the sprint page when you filter to show Work Details. You can reference the documentation to see it in action. This is driven off the "Remaining Work" field, so you will have to populate and keep it updated during the sprint to see it updating daily in real-time.

Azure DevOps - schedule release deployment is not available

In Azure DevOps you can schedule a release as many times as possible. In my example, I want to create a release 3 times a day Monday - Friday
But, if I need to actually deploy those releases 3 times a day Monday - Friday, I can't. There is only one slot available and user can't add more.
Is this a limitation of Azure DevOps and how I can actually deploy my release (not create them) 3 times a day?
This is not available at present.
Not sure if totally got your point, what you are looking for is something similar to schedule redeploy.
When you submit a pre-deployment approval for a stage, you can defer the deployment until a specified time. You could not select or specify multiple times here.
You could submit a feature request in Develop Community: https://developercommunity.visualstudio.com/spaces/21/index.html
As Patrick pointed out, this currently isn't possible. You can set multiple schedules for a release but individual stages can't be scheduled more than once. As a workaround, you could clone the stage and then set different schedules for it.

purchased an parallel build agent, but free is gone

I've just purchased a parallel build agent, but after that the free agent with 1800 minutes is gone.
Is that correct?
It was not clear from the documentation
If you are buying Microsoft-hosted CI/CD. This is the expected behavior.
You can pay for additional capacity per parallel job. Paid parallel
jobs remove the monthly time limit and allow you to run each job for
up to 360 minutes (6 hours). Buy Microsoft-hosted parallel jobs.
Source Link
Please notice our official description. After you bought one paid parallel job, you will not get a new additional parallel job. It's just move the limitation for your prefer free job. That's why your free is "gone".