tag:help.appveyor.com,2012-11-13:/discussions/problems/5521-commit-to-whitelisted-branch-does-not-trigger-buildAppVeyor: Discussion 2018-08-25T02:09:40Ztag:help.appveyor.com,2012-11-13:Comment/412006422016-11-10T17:32:33Z2016-11-10T17:32:33ZCommit to whitelisted branch does not trigger build<div><p>Here's a screenshot confirming the webhook from GitHub to
Appveyor</p></div>desautelsjtag:help.appveyor.com,2012-11-13:Comment/412006422016-11-10T18:22:30Z2016-11-10T18:22:30ZCommit to whitelisted branch does not trigger build<div><p>Researching this issue a little further I found the following
additional information:</p>
<p>My release branches are never built when I push a commit
however, they are built when I issue a pull request to master.
Here's a screenshot showing the release branch being built when a
PR is issued</p></div>desautelsjtag:help.appveyor.com,2012-11-13:Comment/412006422016-11-10T18:58:17Z2016-11-10T18:58:17ZCommit to whitelisted branch does not trigger build<div><p>More research, additional information:</p>
<p>I reverted the branches whitelist in my appveyor.yml to
<code>/release/.*/</code> and pushed this commit. Build was
triggered as expected. I am really confused to explain why commits
trigger a build and why they sometimes don't !!?!?!?!</p></div>desautelsjtag:help.appveyor.com,2012-11-13:Comment/412006422016-11-10T22:22:50Z2016-11-10T22:33:32ZCommit to whitelisted branch does not trigger build<div><p>Hello,</p>
<p>Sorry for confusion. <strong>Regular expressions</strong> should
be surrounded by <code>/</code>, otherise AppVeyor will do simple
case insensitive string comparison. <a href="https://github.com/appveyor/website/pull/220/commits">Updating
documentation now</a>.</p>
<p>Please let us know if it makes sense.</p>
<p>--ilya.</p></div>Ilya Finkelshteyn