I am using "Multiple SCM" plugin and I have 2 git repos that are being pulled
into my workspace:
[email protected]:foo/a --> goes to directory $WORKSPACE/a
[email protected]:foo/b --> goes to directory $WORKSPACE/b

I want to filter *all* commits to foo/a so that the job does not start.

Easy enough.  In the "Excluded Regions" for the git plugin, I initially put:
/a/.*
but no love.  When something gets committed to "a", the build starts.

I tried:
/a/**
/a/*
But no love.  In the polling log, I get:
java.util.regex.PatternSyntaxException: Dangling meta character '*' near
index 0
which means I malformed regex.

So in a nutshell, how do I set up my filter so that commits to "foo/a" do
not trigger a build?
Thanks!



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Filter-SCM-polling-on-Multiple-SCM-with-Git-tp4663608.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to