On 2017-10-31 12:02, Marcel Reutegger wrote:
Hi,

On 30/10/17 14:21, Julian Reschke wrote:
In the meantime I realized that our Matrix build uses the same JDK choices both for trunk and release branches - so 1.6 now is built witj JDK 9, and that of course fails.

1) Does anybody know whether that can be configured better?

There is a combination filter you can configure. Maybe it is easier if we split the matrix. That is, create one matrix per Java version and the branches that support this version. Or, create one matrix per branch and all the supported Java versions.
...

FWIW, I tried to do this, such as with:

((profile=="unittesting") || (profile=="integrationTesting") || (profile=="rat" && nsfixtures=="SEGMENT_TAR" && jdk=="JDK 1.8 
(latest)")) && ( (branch!="origin/trunk") || (branch=="origin/trunk" && jdk!="JDK 1.7 (latest)") )

However Jenkins does not accept the filter expression, probably because of the field name of the build (which I had to guess).

Best regards, Julian

Reply via email to