NuKeeperDotNet / NuKeeper-AzureDevops-extension

NuKeeper AzureDevops and VSTS extension
12 stars 15 forks source link

Nukeeper not working when using multi repo pipelines #54

Closed Rora closed 4 years ago

Rora commented 4 years ago

Our team tries to create a pipeline which will be able to run nukeeper for every repository. To do this we've added a checkout step which uses a variable like so:

A fix would be to a 'target-branch' option to the build task. This option might provide usefull in other use cases as well.

P.S. IMO there should be a up to date build variable that nukeeper would be able to use, however this is not the case at the moment. I've added an issue for this as well https://developercommunity.visualstudio.com/content/problem/1052569/multi-repo-checkout-not-updating-build-variables.html

Rora commented 4 years ago

Added PR https://github.com/NuKeeperDotNet/NuKeeper-AzureDevops-extension/pull/55 for if you agree with the opted solution

MarcBruins commented 4 years ago

Updated the PR and there is a new release. Can you confirm that it works? The only thing you have to do is add the --targetBranch origin/mybranch to the Arguments field