Thanks - I tried your suggestions and they seem to work fine.
On Wednesday, December 24, 2014 at 9:20:03 AM UTC-8, Ng, Jeff wrote:
Just guessing here, but in your “exclusions” combo filter below, it
seems like you should be using instead of || separating the two
conditions. Also, not sure if it makes a difference when parsing, but
typically there are no spaces around the ==.
So, did you already try this:
!(platform==b board_type==y) !(platform==c board_type==y)
*From:* jenkins...@googlegroups.com javascript: [mailto:
jenkins...@googlegroups.com javascript:] *On Behalf Of *malferns
*Sent:* Monday, December 22, 2014 1:17 PM
*To:* jenkins...@googlegroups.com javascript:
*Subject:* EXTERNAL: jenkins conditional matrix - combination filter does
not work
I have these axis defined:
platform: a, b, c
mode: m
board_type: x, y
Would like to only build these combinations:
a/x a/y
b/x
c/x
These combos should be excluded:
b/y
c/y
So I created a combination filter (however, this does not work and it
builds all the combinations.):
!(platform == b board_type == y) || !(platform == c board_type
== y)
I finally landed up doing this which works:
(platform==a) (board_type==x) || (platform==a)
(board_type==y) || (platform==b) (board_type==x) ||
(platform==c) (board_type==x)
Would prefer to have the exclusions. Any thoughts?
--
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-use...@googlegroups.com javascript:.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/65dcbfa2-9210-4744-9fd4-4c78b7d40fe8%40googlegroups.com
https://groups.google.com/d/msgid/jenkinsci-users/65dcbfa2-9210-4744-9fd4-4c78b7d40fe8%40googlegroups.com?utm_medium=emailutm_source=footer
.
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/362c0a2c-8627-4c4d-b391-5217e39155b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.