Our developers use temporary branches but I only want to build any commits to master
and any v*
branches (e.g. v1.0
, v1.0
, v1.1
, etc.)
I am trying the following in the Refspec field:
+refs/heads/master:refs/remotes/origin/master
+refs/heads/v*:refs/remotes/origin/v*
but jenkins kicks out the following error:
stderr: fatal: Invalid refspec '+refs/heads/v*:refs/remotes/origin/v*'