Yep, that works, thanks! > On Mar 1, 2016, at 9:53 AM, Eric Pyle <[email protected]> wrote: > > I believe the * following the closing parentheses means "zero or more > occurrences of", and in this case applies to the contents of the parentheses. > So it's matching on zero occurrences. You probably want ").*" > > Eric > >> On 3/1/2016 9:20 AM, Eric Fetzer wrote: >> Thanks for the reply Eric! Sorry, the square brackets are just from the >> Jenkins output. My regex's look like this (4 single conditional steps based >> on the label passed in build.apps): >> >> .*(NAP-Client|NAP-ALL)* >> .*(NAP-Server|NAP-ALL)* >> .*(NAP-Reports|NAP-ALL)* >> .*(CAS|NAP-ALL)* >> >> In this particular case, I passed in build.apps='NAP-Client,NAP-Server' >> >> So it should go in and trigger the build associated with these two regex's. >> But what it does is go into all 4 and build them. I'm guessing I could put >> anything at all in the Label and it would match for all of these conditions >> because of a mistake I'm making in my regex. >> >> Thanks, >> Eric >> >>> On Monday, February 29, 2016 at 2:32:08 PM UTC-7, Eric Fetzer wrote: >>> I don't understand why the following is a match for my regex. Can someone >>> tell me what makes it a match? >>> >>> Regular expression run condition: Expression=[.*(OIS-Reports|OIS-ALL)*], >>> Label=[OIS-Client,OIS-Server] >>> Run condition [Regular expression match] enabling perform for step >>> [Trigger/call builds on other projects] >>> >>> Thanks, >>> Eric >> -- >> 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/8b0a1962-9ebe-4623-bc34-9e9e20d1fbab%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/2lxINpDeGUo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/56D5ACDD.9000708%40cd-adapco.com. > For more options, visit https://groups.google.com/d/optout.
-- 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/756DE137-28AC-4BA4-86A0-354FBE89083C%40gmail.com. For more options, visit https://groups.google.com/d/optout.
