mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
expose system axes, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5616 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
dc1c7e3d3e
commit
e3f236ef33
1 file changed
+1
-8
@@ -50,15 +50,8 @@ public class MatrixRun extends Build<MatrixConfiguration,MatrixRun> {
|
||||
|
||||
@Override
|
||||
public Map<String,String> getBuildVariables() {
|
||||
AxisList axes = getParent().getParent().getAxes();
|
||||
|
||||
// pick up user axes
|
||||
Map<String,String> r = new HashMap<String,String>();
|
||||
for (Entry<String,String> e : getParent().getCombination().entrySet()) {
|
||||
if(!axes.find(e.getKey()).isSystem())
|
||||
r.put(e.getKey(),e.getValue());
|
||||
}
|
||||
return r;
|
||||
return new HashMap<String,String>(getParent().getCombination());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user