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:
[image: Screenshot 2019-10-30 at 10.47.43.png]

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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BroAGOzcYdFf1dKuibjeOUXN_ENFmzGDAnxn5WCJVL3Rdbmjw%40mail.gmail.com.

Reply via email to