Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I have tried this feature some months ago, but I don't use it anymore (just because I don't need it, not because it is not a good feature).</p> <p>Basically, you define n Axis, each axis is a property with several values.</p> <p>Let's go with an example: you define the Axis "JDK", with possible value "1.4", "1.5", "1.6", and you define another property "database", where possible values are "oracle", "mysql".</p> <p>Thus, Hudson will launch your build 6 times:</p> <ul> <li>with JDK 1.4, with the property database=oracle (i.e. the JVM is launched with -Ddatabase=oracle)</li> <li>with JDK 1.5, with the property database=oracle</li> <li>with JDK 1.6, with the property database=oracle</li> <li>with JDK 1.4, with the property database=mysql</li> <li>with JDK 1.5, with the property database=mysql</li> <li>with JDK 1.6, with the property database=mysql</li> </ul> <p>Then, once everything is finished, you will be able to see the results for each iteration.</p> <p>This feature may be really usefull when you need to test your application in several environments (in my example, with different versions of JDK or database).</p> <p>Note that except for the JDK axis, you have to manage by yourself the property given as entry by Hudson. In my example, the application must take into account the "database" property itself. Eventually, a good idea is to use this property to enable a particular profile in the Maven2 configuration, if you project is mavenized (see <a href="http://maven.apache.org/guides/introduction/introduction-to-profiles.html" rel="noreferrer">here</a> for more details about that).</p> <p>I hope my explanations are clear enough :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload