DynamicAxis Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID dynamic-axis Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.0.3 (archives)
Dec 07, 2014
1.477
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Kevin Kane (id: kckane)
Usage Installations 2014-Feb 275
2014-Mar 290
2014-Apr 321
2014-May 347
2014-Jun 365
2014-Jul 387
2014-Aug 421
2014-Sep 434
2014-Oct 458
2014-Nov 469
2014-Dec 488
2015-Jan 519

This plugin allows you to define a matrix build axis that is dynamically populated from an environment variable:

Description

Environment variables can be contributed to a build from a number of places, including:

  • Build parameters
  • Build node configuration
  • Jenkins configuration
  • System environment

When specifying a variable for an axis only the last category of variables can be validated. This is because Jenkins contributes the other types of variables only at actual build time, thus they are not available at configuration time.

Configuring an axis is otherwise the same as for the User-defined axis option: specify an axis name to be used in your build along with the name of the environment variable to dynamically retrieve the axis values from. The rules for the value of this variable are the same: one or more values separated by a space.

Examples

Some portable environment variable names include:

  • AXES
  • PARAM_LIST
  • 4_BUILD_CONFIG

The following are all valid values for the contents of the environment variable selected for an axis:

  • dev tst sit
  • jdk6 jdk7
  • deploy_srv1 deploy_srv2 deploy_srv3

Acknowledgements

Many thanks to Emanuele Zattin for leading the way with the Groovy Axis plugin. And of course to Koshuke, for continuing to expand and improve this excellent platform.

Change Log

Version 1.0.3 (7 December 2014)

  • Properly tokenize axis values when the input variable contains quotes (issue #25660)
  • Prevent ConcurrentModificationException on massive matrix runs (issue #22652)

Version 1.0.2 (29 October 2012)

  • Added fix for synchronization issues, contributed by Nathan Grunzweig

Version 1.0.1 (13 November 2012)

  • Initial release

Labels

Edit
plugin-buildwrapper plugin-buildwrapper Delete
matrix-axis-producer matrix-axis-producer Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.