Hi,
I have a multi-branch GitHub organization project, that I'm trying to configure to correctly automate builds on all PR, merges to master and new QA/release tags.
For that I'm trying to use Build strategies form Branch API plugin configured as following:
However, this configuration itself doesn't trigger any automatic builds on webhook requests.
What was missing was a regular expression in "Automatic branch project triggering" configuration. When I set it to allow anything `.*` my PR and QA releases started triggering automatic builds. Unfortunately, with this configuration, when I do Scan Repository Now, it not only detects branches specified in strategies but basically all branches and tags (also older than 7 days). It feels like `Automatic branch project triggering` takes priority over strategies. However, without `Automatic branch project triggering` nothing really builds.
How should it be configured to work correctly? Why the plugin provides both options?
I'm using latest jenkins image: 2.190.2 and Basic Branch Build Strategies 1.3.2
Thanks,
Jan