On the Azure DevOps, in we git
we have a schema of branches where we create a branch per sprint
, for sample:
- sprint01
- sprint02
- sprint03 ...
We keep the 3 last sprint
branches, and in this case when I create the sprint4
branch, we will drop the sprint01
. Each sprint We publish a version of our product every week. On the build
pipeline definition on our project, we have defined the trigger to run over a push on the sprint*
branch because we don't want to change the definition on each new version.
It works but it runs a build for each sprint
branch and a release for each one. I would like to have just for that branch (with prefix sprint
) that was pushed on the git. Is there any way to configure it?
My current configuration:
sprint01
,sprint02
,sprint03
, the trigger will run a build for each branch. I wish to run just for the branch that was pushed.sprint01
so 3 different builds will be executed? (3 build run in parallel?)sprint*
. If I push sprint03 I wish to run just a build/release for this. I know I can configure a fixed branch, but we have a new sprint every monday, I would like to have this automatically.