提交 e3f236ef 编写于 作者: K kohsuke

expose system axes, too.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5616 71c3de6d-444a-0410-be80-ed276b4c234a
上级 dc1c7e3d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册