Reputation: 420
It is little noisy when you have 10 repositories with 10 nuget packages.
I would like to have one repository with 10 nuget packages, but I need one Azure Build with publish only changed nuget packages step and ignore at all unchanged.
Upvotes: 1
Views: 473
Reputation: 40779
Yes it is possible. I would recommend for you multiple pipelines one per package with limited CI trigger to package folder (you can have many build in one repo, you only need a separate YAML files for them):
# specific path build
trigger:
branches:
include:
- master
- releases/*
paths:
include:
- package-1/*
exclude:
- `*`
You can use this with combination to templates as most of steps probably will be the same from all your builds. They will have only different parameter values. You can also take a look on my blog post where I wrote about templates.
Upvotes: 2
Reputation: 1414
As long as you are properly versioning each nuget package independently, it shouldn't be a problem. The nuget feeds don't allow duplicate package names.
https://learn.microsoft.com/en-us/nuget/concepts/package-versioning
https://learn.microsoft.com/en-us/nuget/nuget-org/publish-a-package
Upvotes: 0