Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: a6dddf2917c1d9ae819f86947a7ccffa2a04d728
      
https://github.com/jenkinsci/jenkins/commit/a6dddf2917c1d9ae819f86947a7ccffa2a04d728
  Author: Kohsuke Kawaguchi <k...@kohsuke.org>
  Date:   2013-02-16 (Sat, 16 Feb 2013)

  Changed paths:
    M changelog.html
    M core/src/main/java/hudson/matrix/MatrixConfiguration.java

  Log Message:
  -----------
  [FIXED JENKINS-11577]

Traditionally, matrix axis values are only exposed as "build variables", and it 
was up to individual build steps and others to treat them equally like 
environment variables.

However, in practice, this distinction between environment variables vs build 
variables didn't serve any useful purposes, and the down side (of some plugins 
only expanding env vars in the ${VAR} notation and not build variables) was 
probably bigger than whatever benefit this distinction was supposed to bring.

In this fix, we are exposing matrix axis values also as environment variables. 
This will make them recognizable from plugins that only expand environment 
variables, such as parameterized trigger plugins as indicated in the original 
bug report.

This was motivated by pull request #701 but fix was made differently.



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to