Hi guys, I'm using Bitbucket Pull Requests Builder plugin to build my a pull request and reports back to bitbucket, that part works fine.
I have 2 jobs for the same repo, the first job builds the pull request which the branch is something like red-123... and the other job builds and merges and triggers and downstream job if the first job (pr) is built by Jenkins and approved in bitbucket. On the *1st* job I have a regex to match anything except dev branch: Branch Specifier (blank for 'any') *: ^(?!.*dev).*$*On the *2nd* job I have: Branch Specifier (blank for 'any')= *dev* Once my 1st job was built successfully and reported back in bitbucket, I approve the pr, and then the 2nd job gets triggered as I expected and also the 1st job again :( I didn't expected that. I believe my regex is not working, how can avoid to build the *dev* branch or try to *match red-123 *on my 1st job? I have tried so many regex combination that actually works on http://rubular.com/ but not in Branch Specifier, so I would really appreciate some help here. Thanks in advance! Francisca -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/92ff89f8-a67b-4cb3-9790-17fadc2ddcd9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.