Package jenkins.security
Class Roles
java.lang.Object
jenkins.security.Roles
Predefined
Role
s in Jenkins.
In Jenkins, there is really only one interesting role, which is the Jenkins master. Agents, CLI, and Maven processes are all going to load classes from the master, which means it accepts anything that the master asks for, and thus they need not have any role.
- Since:
- 1.587 / 1.580.1
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Method Summary
-
Field Details
-
MASTER
public static final org.jenkinsci.remoting.Role MASTERIndicates that a callable runs on masters, requested by agents/CLI/maven/whatever. -
SLAVE
public static final org.jenkinsci.remoting.Role SLAVEIndicates that a callable is meant to run on agents. This isn't used to reject callables to run on the agent, but rather to allow the master to promptly reject callables that are really not meant to be run on the master (as opposed to ones that do not have that information, which getsRole.UNKNOWN
)
-