Follow-up to JENKINS-31591, there are some plugins that provide additional conditions under which the MasterKillSwitchConfiguration could become relevant. The primary case is the swarm plugin, but there are other cases.
It would make sense to provide an extension point such that plugins can contribute additional cases where the configuration is relevant.
The MasterKillSwitchConfiguration should always be relevant when security is enabled and the user has RUN_SCRIPTS
- is related to
-
JENKINS-31591 MasterKillSwitchConfiguration is not available when you have clouds but no fixed slaves
-
- Closed
-
Code changed in jenkins
User: Stephen Connolly
Path:
core/src/main/java/jenkins/security/s2m/MasterKillSwitchConfiguration.java
http://jenkins-ci.org/commit/jenkins/39ef6157fa41b5e9df92fec03f0fc65c95e07c57
Log:
Revert "
JENKINS-31596The kill switch is never relevant if you do not have RUN_SCRIPTS"This reverts commit c55d56291485f05d8be29e4854bf7a4605fe9bae.