jenkins the definitive guide

(Jeff_L) #1

10.4.4. Custom Axis


The third type of axis lets you define different ways to run your build job, based on arbitrary variables
that you define. For example, you might provide a list of databases you need to test against, or a list
of browsers to use in your web tests. These are like parameters for a parameterized build job, except
that you provide the complete list of possible values, and rather than prompting for you to enter a value,
Jenkins will run the build with all of the values you provide (Figure 10.23, “Defining a user-defined
axis”).


Figure 10.23. Defining a user-defined axis


10.4.5. Running a Multiconfiguration Build


Once you have set up the axes, you can run your multiconfiguration build just like any other. However,
Jenkins will treat each combination of variables as a separate build job. Jenkins displays the aggregate
results in a table, where all of the combinations are shown (see Figure 10.24, “Multiconfiguration build
results”). If you click on any of the balls, Jenkins will take you to the detailed results for that particular
build.

Free download pdf