提交 55f15519 编写于 作者: O Oleg Nenashev

Noting #1374

Signed-off-by: NOleg Nenashev <o.v.nenashev@gmail.com>
上级 a7cc2a1b
......@@ -84,6 +84,9 @@ Upcoming changes</a>
<li class=rfe>
Show keep build log reason in tool tips
(<a href="https://github.com/jenkinsci/jenkins/pull/1422">pull request 1422</a>)
<li class=bug>
Do not disable projects, which do not support such operation (like Matrix configurations)
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-24340">issue 24340</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -693,6 +693,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
* The method will ignore the disable command if {@link #supportsMakeDisabled()}
* returns false. The enable command will be executed in any case.
* @param b true - disable, false - enable
* @since 1.585 Do not disable projects if {@link #supportsMakeDisabled()} returns false
*/
public void makeDisabled(boolean b) throws IOException {
if(disabled==b) return; // noop
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册