Here you can specify build combinations that you want to deploy through a Groovy expression that returns true or false.
When you specify a Groovy expression here, only the build combinations that result in true will be deployed to Artifactory. In evaluating the expression, multi-configuration axes are exposed as variables (with their values set to the current combination evaluated).
The Groovy expression uses the same syntax used in Combination Filter under Configuration Matrix
For example, if you are building on different agents for different jdk`s you would specify the following:
Deploy "if both linux and jdk7, it's invalid " | !(label=="linux" && jdk=="jdk7" |
Deploy "if on master, just do jdk7 " | (label=="master").implies(jdk=="jdk7") |
Important Note
Deployment of the same Maven artifacts by more than one matrix job is not supported!