提交 e93e0569 编写于 作者: V Vojtech Juranek

Commented out getActions() as returns new copy of action list and thus breaks...

Commented out getActions() as returns new copy of action list and thus breaks e.g. JUnitResultArchiver, which adds
actions directly to the list (build.getActions().add(action)).
上级 6c6d101e
......@@ -896,13 +896,14 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
return ta;
}
@Override
// commented out until fixed problem with adding actions, see discussion under https://github.com/jenkinsci/jenkins/pull/421
/* @Override
public List<Action> getActions() {
List<Action> actions = new CopyOnWriteArrayList<Action>(super.getActions());
actions.addAll(createTransientActions());
return actions;
}
*/
public List<Action> getPersistentActions(){
return super.getActions();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册