public class Roles extends Object
Roles 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.
|Modifier and Type||Field and Description|
Indicates that a callable runs on masters, requested by agents/CLI/maven/whatever.
Indicates that a callable is meant to run on agents.
public static final org.jenkinsci.remoting.Role MASTER
public static final org.jenkinsci.remoting.Role SLAVE
Copyright © 2004–2020. All rights reserved.