0
votes

I have a build configuration that is triggered on a schedule (nightly). It is marked to only execute when there are pending changes.

The VCS root that is attached to this build configuration is set to monitor a bunch of different git branches: enter image description here

Notice that the default branch is 'integration', which has no changes, but other branches do have changes. I would expect the build to trigger using the branch with the pending changes, and not using the default branch, which has nothing new on it.

Why is the build triggered on the wrong branch then? did i configure something wrong ?

1
all triggers work s only on the default branch.Senior Pomidor

1 Answers

2
votes

Could you try this?

Triggers -> Schedule Trigger -> Additional Options -> Show Advanced options enter image description here

Add the branch specification: enter image description here