TeamCity fails to trigger on wildcard-specified branch

I have the following setup in TeamCity:

Build Configuration Settings -> Version Control Settings -> VCS Root:

  • Hudson Build-Time Trend Plugin?
  • Plugin to commit hudson build artifact
  • How to update code from git to a Docker container
  • Where is the PHPUnit report schema used by Jenkins?
  • How to change Jenkins default folder on Windows?
  • Jenkins security - hide all screens unless user is logged in
    • Default branch: remote-run/my-feature
    • Branch specification: remote-run/my-feature

    This triggers perfectly when getting the commits from Github from remote-run/my-feature branch, but when I try to have it generic (all branches pushed on remote-run) like this:

    • Default branch: remote-run/* OR refs/heads/remote-run/* OR +:refs/heads/remote-run/* OR -:refs/heads/remote-run/*
    • Branch specification: remote-run/* OR refs/heads/remote-run/* OR +:refs/heads/remote-run/* OR -:refs/heads/remote-run/*

    nothing is being triggered.

    Does anyone knows what branch specs is need in order to trigger when pushing to remote-run/ANYTHING_HERE?


    As a matter of fact, it fails connecting to the Github repo if I specify anything like:

    -:refs/heads/*/pull or -:refs/heads/*/merge or +:refs/heads/*/pull or +:refs/heads/*/merge in the Branch Specification even though I have valid Pull Requests present in my Github repo.

  • Rails 4 - capistrano 3 doesn't deploy last commits
  • Showing a fancy tag list on git
  • Can't start Git Bash
  • What happens to orphaned commits?
  • Why does git status show branch is up-to-date when changes exist upstream?
  • External git difftool is not working on windows
  • One Solution collect form web for “TeamCity fails to trigger on wildcard-specified branch”

    Use Branch Filter in the Trigger and set the only filter as

    +: remote-run/*

    Also in Version Control under Branch Specification use

    +:( remote-run/*)

    I also had similar issue and solved it as given above.
    I think this would solve your problem too.

    Git Baby is a git and github fan, let's start git clone.