jenkinsci/environment-script-plugin — pull request #1 by kbriggs (2013-10-23 04:31:34+00:00)
Title: [FIXES JENKINS-14951] Set environment on matrix parent build

If the build is a MatrixBuild, build wrappers are not invoked for the
parent, only for the individual MatrixRuns. In order for the environment
variables to be available to the parent (e.g. for post-build steps), we
must inject the environment into the parent directly during the aggregator
startBuild().