* In Jenkins, often we need to build up "environment variable overrides"
- * on master, then to execute the process on slaves. This causes a problem
+ * on master, then to execute the process on agents. This causes a problem
* when working with variables like PATH. So to make this work,
* we introduce a special convention PATH+FOO — all entries
* that starts with PATH+ are merged and prepended to the inherited
@@ -134,7 +134,7 @@ public class EnvVars extends TreeMap {
String v = get(realKey);
if(v==null) v=value;
else {
- // we might be handling environment variables for a slave that can have different path separator
+ // we might be handling environment variables for a agent that can have different path separator
// than the master, so the following is an attempt to get it right.
// it's still more error prone that I'd like.
char ch = platform==null ? File.pathSeparatorChar : platform.pathSeparator;
@@ -421,8 +421,8 @@ public class EnvVars extends TreeMap {
* variables only when you access this from the master.
*
*
- * If you access this field from slaves, then this is the environment
- * variable of the slave agent.
+ * If you access this field from agents, then this is the environment
+ * variable of the agent agent.
*/
public static final Map masterEnvVars = initMaster();
diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java
index 9690c39cd0..adb28461f8 100644
--- a/core/src/main/java/hudson/FilePath.java
+++ b/core/src/main/java/hudson/FilePath.java
@@ -127,7 +127,7 @@ import org.jenkinsci.remoting.RoleSensitive;
*
*
* Unlike {@link File}, which always implies a file path on the current computer,
- * {@link FilePath} represents a file path on a specific slave or the master.
+ * {@link FilePath} represents a file path on a specific agent or the master.
*
* Despite that, {@link FilePath} can be used much like {@link File}. It exposes
* a bunch of operations (and we should add more operations as long as they are
@@ -191,19 +191,19 @@ public final class FilePath implements Serializable {
/**
* When this {@link FilePath} represents the remote path,
* this field is always non-null on master (the field represents
- * the channel to the remote slave.) When transferred to a slave via remoting,
+ * the channel to the remote agent.) When transferred to a agent via remoting,
* this field reverts back to null, since it's transient.
*
* When this {@link FilePath} represents a path on the master,
- * this field is null on master. When transferred to a slave via remoting,
+ * this field is null on master. When transferred to a agent via remoting,
* this field becomes non-null, representing the {@link Channel}
* back to the master.
*
- * This is used to determine whether we are running on the master or the slave.
+ * This is used to determine whether we are running on the master or the agent.
*/
private transient VirtualChannel channel;
- // since the platform of the slave might be different, can't use java.io.File
+ // since the platform of the agent might be different, can't use java.io.File
private final String remote;
/**
@@ -259,7 +259,7 @@ public final class FilePath implements Serializable {
return base.remote+'/'+rel.replace('\\','/');
} else {
// need this replace, see Slave.getWorkspaceFor and AbstractItem.getFullName, nested jobs on Windows
- // slaves will always have a rel containing at least one '/' character. JENKINS-13649
+ // agents will always have a rel containing at least one '/' character. JENKINS-13649
return base.remote+'\\'+rel.replace('/','\\');
}
}
@@ -802,14 +802,14 @@ public final class FilePath implements Serializable {
listener.getLogger().println(message);
if (isRemote()) {
- // First try to download from the slave machine.
+ // First try to download from the agent machine.
try {
act(new Unpack(archive));
timestamp.touch(sourceTimestamp);
return true;
} catch (IOException x) {
if (listener != null) {
- x.printStackTrace(listener.error("Failed to download " + archive + " from slave; will retry from master"));
+ x.printStackTrace(listener.error("Failed to download " + archive + " from agent; will retry from master"));
}
}
}
diff --git a/core/src/main/java/hudson/FileSystemProvisioner.java b/core/src/main/java/hudson/FileSystemProvisioner.java
index bbb98f5e9d..cd8a568869 100644
--- a/core/src/main/java/hudson/FileSystemProvisioner.java
+++ b/core/src/main/java/hudson/FileSystemProvisioner.java
@@ -51,7 +51,7 @@ import java.io.OutputStream;
* STILL A WORK IN PROGRESS. SUBJECT TO CHANGE! DO NOT EXTEND.
*
* TODO: is this per {@link Computer}? Per {@link Job}?
- * -> probably per slave.
+ * -> probably per agent.
*
*
Design Problems
*
@@ -71,7 +71,7 @@ import java.io.OutputStream;
* one more configuration option. It's especially tricky because
* during the configuration we don't know the OS type.
*
- * OTOH special slave type like the ones for network.com grid can
+ * OTOH special agent type like the ones for network.com grid can
* hide this.
*
*
@@ -80,8 +80,8 @@ import java.io.OutputStream;
*
* To recap,
*
- * - when a slave connects, we auto-detect the file system provisioner.
- * (for example, ZFS FSP would check the slave root user prop
+ * - when an agent connects, we auto-detect the file system provisioner.
+ * (for example, ZFS FSP would check the agent root user prop
* and/or attempt to "pfexec zfs create" and take over.)
*
* - the user may configure jobs for snapshot collection, along with
diff --git a/core/src/main/java/hudson/FileSystemProvisionerDescriptor.java b/core/src/main/java/hudson/FileSystemProvisionerDescriptor.java
index 4827366d36..ce0371ceec 100644
--- a/core/src/main/java/hudson/FileSystemProvisionerDescriptor.java
+++ b/core/src/main/java/hudson/FileSystemProvisionerDescriptor.java
@@ -38,9 +38,9 @@ public abstract class FileSystemProvisionerDescriptor extends Descriptor
- * Because users may modify the file system behind Hudson, and slaves may come and go when
+ * Because users may modify the file system behind Hudson, and agents may come and go when
* configuration changes happen, in general case Hudson is unable to keep track of which jobs
- * have workspaces in which slaves.
+ * have workspaces in which agents.
*
*
* So instead we rey on a garbage collection mechanism, to look at workspaces left in the file system
diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java
index 9f74f42b20..fb28418cc6 100644
--- a/core/src/main/java/hudson/Functions.java
+++ b/core/src/main/java/hudson/Functions.java
@@ -1575,7 +1575,7 @@ public class Functions {
* Obtains the host name of the Hudson server that clients can use to talk back to.
*
* This is primarily used in slave-agent.jnlp.jelly to specify the destination
- * that the slaves talk to.
+ * that the agents talk to.
*/
public String getServerName() {
// Try to infer this from the configured root URL.
diff --git a/core/src/main/java/hudson/Launcher.java b/core/src/main/java/hudson/Launcher.java
index 5be9397699..fbdb0609c7 100644
--- a/core/src/main/java/hudson/Launcher.java
+++ b/core/src/main/java/hudson/Launcher.java
@@ -297,7 +297,7 @@ public abstract class Launcher {
*
*
* In adition to what the current process
- * is inherited (if this is going to be launched from a slave agent, that
+ * is inherited (if this is going to be launched from a agent agent, that
* becomes the "current" process), these variables will be also set.
*/
public ProcStarter envs(Map overrides) {
@@ -611,7 +611,7 @@ public abstract class Launcher {
* from the current process
* @param envVars
* Environment variable overrides. In addition to what the current process
- * is inherited (if this is going to be launched from a slave agent, that
+ * is inherited (if this is going to be launched from an agent, that
* becomes the "current" process), these variables will be also set.
*/
public abstract Channel launchChannel(String[] cmd, OutputStream out, FilePath workDir, Map envVars) throws IOException, InterruptedException;
diff --git a/core/src/main/java/hudson/ProxyConfiguration.java b/core/src/main/java/hudson/ProxyConfiguration.java
index 9b51990925..ee64737f95 100644
--- a/core/src/main/java/hudson/ProxyConfiguration.java
+++ b/core/src/main/java/hudson/ProxyConfiguration.java
@@ -215,7 +215,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl
* Aside from the HTTP endpoint, Jenkins runs {@link TcpSlaveAgentListener} that listens on a TCP socket.
- * Historically this was used for inbound connection from slave agents (hence the name), but over time
+ * Historically this was used for inbound connection from agents (hence the name), but over time
* it was extended and made generic, so that multiple protocols of different purposes can co-exist on the
* same socket.
*
@@ -66,7 +66,7 @@ public final class TcpSlaveAgentListener extends Thread {
* Use 0 to choose a random port.
*/
public TcpSlaveAgentListener(int port) throws IOException {
- super("TCP slave agent listener port="+port);
+ super("TCP agent listener port="+port);
try {
serverSocket = ServerSocketChannel.open();
serverSocket.socket().bind(new InetSocketAddress(port));
@@ -75,7 +75,7 @@ public final class TcpSlaveAgentListener extends Thread {
}
this.configuredPort = port;
- LOGGER.log(Level.FINE, "JNLP slave agent listener started on TCP port {0}", getPort());
+ LOGGER.log(Level.FINE, "JNLP agent listener started on TCP port {0}", getPort());
start();
}
@@ -105,7 +105,7 @@ public final class TcpSlaveAgentListener extends Thread {
}
} catch (IOException e) {
if(!shuttingDown) {
- LOGGER.log(Level.SEVERE,"Failed to accept JNLP slave agent connections",e);
+ LOGGER.log(Level.SEVERE,"Failed to accept JNLP agent connections",e);
}
}
}
@@ -134,7 +134,7 @@ public final class TcpSlaveAgentListener extends Thread {
synchronized(getClass()) {
id = iotaGen++;
}
- setName("TCP slave agent connection handler #"+id+" with "+s.getRemoteSocketAddress());
+ setName("TCP agent connection handler #"+id+" with "+s.getRemoteSocketAddress());
}
@Override
diff --git a/core/src/main/java/hudson/cli/OnlineNodeCommand.java b/core/src/main/java/hudson/cli/OnlineNodeCommand.java
index 2ed90c7461..1c5efed49c 100644
--- a/core/src/main/java/hudson/cli/OnlineNodeCommand.java
+++ b/core/src/main/java/hudson/cli/OnlineNodeCommand.java
@@ -40,7 +40,7 @@ import java.util.logging.Logger;
@Extension
public class OnlineNodeCommand extends CLICommand {
- @Argument(metaVar="NAME", usage="Slave name, or empty string for master")
+ @Argument(metaVar="NAME", usage="Agent name, or empty string for master")
public String computerName;
private static final Logger LOGGER = Logger.getLogger(OnlineNodeCommand.class.getName());
diff --git a/core/src/main/java/hudson/console/ConsoleLogFilter.java b/core/src/main/java/hudson/console/ConsoleLogFilter.java
index 49116ab982..ec1b0c0592 100644
--- a/core/src/main/java/hudson/console/ConsoleLogFilter.java
+++ b/core/src/main/java/hudson/console/ConsoleLogFilter.java
@@ -88,10 +88,10 @@ public abstract class ConsoleLogFilter implements ExtensionPoint {
}
/**
- * Called to decorate logger for master/slave communication.
+ * Called to decorate logger for master/agent communication.
*
* @param computer
- * Slave computer for which the logger is getting decorated. Useful to do
+ * Agent computer for which the logger is getting decorated. Useful to do
* contextual decoration.
* @since 1.632
*/
diff --git a/core/src/main/java/hudson/logging/LogRecorder.java b/core/src/main/java/hudson/logging/LogRecorder.java
index 17ec36ee16..af6fb378ce 100644
--- a/core/src/main/java/hudson/logging/LogRecorder.java
+++ b/core/src/main/java/hudson/logging/LogRecorder.java
@@ -208,7 +208,7 @@ public class LogRecorder extends AbstractModelObject implements Saveable {
}
private static final class SetLevel extends MasterToSlaveCallable {
- /** known loggers (kept per slave), to avoid GC */
+ /** known loggers (kept per agent), to avoid GC */
@SuppressWarnings("MismatchedQueryAndUpdateOfCollection") private static final Set loggers = new HashSet();
private final String name;
private final Level level;
@@ -363,7 +363,7 @@ public class LogRecorder extends AbstractModelObject implements Saveable {
}
/**
- * Gets a view of log records per slave matching this recorder.
+ * Gets a view of log records per agent matching this recorder.
* @return a map (sorted by display name) from computer to (nonempty) list of log records
* @since 1.519
*/
diff --git a/core/src/main/java/hudson/model/AbstractBuild.java b/core/src/main/java/hudson/model/AbstractBuild.java
index e9c4626706..582f883945 100644
--- a/core/src/main/java/hudson/model/AbstractBuild.java
+++ b/core/src/main/java/hudson/model/AbstractBuild.java
@@ -109,7 +109,7 @@ public abstract class AbstractBuild
,R extends Abs
private static final boolean upstreamCulprits = Boolean.getBoolean("hudson.upstreamCulprits");
/**
- * Name of the slave this project was built on.
+ * Name of the agent this project was built on.
* Null or "" if built by the master. (null happens when we read old record that didn't have this information.)
*/
private String builtOn;
@@ -205,7 +205,7 @@ public abstract class AbstractBuild
,R extends Abs
* Returns a {@link Slave} on which this build was done.
*
* @return
- * null, for example if the slave that this build run no longer exists.
+ * null, for example if the agent that this build run no longer exists.
*/
public @CheckForNull Node getBuiltOn() {
if (builtOn==null || builtOn.equals(""))
@@ -215,7 +215,7 @@ public abstract class AbstractBuild
,R extends Abs
}
/**
- * Returns the name of the slave it was built on; null or "" if built by the master.
+ * Returns the name of the agent it was built on; null or "" if built by the master.
* (null happens when we read old record that didn't have this information.)
*/
@Exported(name="builtOn")
@@ -276,7 +276,7 @@ public abstract class AbstractBuild
,R extends Abs
* {@link AbstractBuildExecution#decideWorkspace(Node,WorkspaceList)}.
*
* @return
- * null if the workspace is on a slave that's not connected. Note that once the build is completed,
+ * null if the workspace is on an agent that's not connected. Note that once the build is completed,
* the workspace may be used to build something else, so the value returned from this method may
* no longer show a workspace as it was used for this build.
* @since 1.319
@@ -808,7 +808,7 @@ public abstract class AbstractBuild
,R extends Abs
private void reportBrokenChannel(BuildListener listener) throws IOException {
final Node node = getCurrentNode();
- listener.hyperlink("/" + node.toComputer().getUrl() + "log", "Slave went offline during the build");
+ listener.hyperlink("/" + node.toComputer().getUrl() + "log", "Agent went offline during the build");
listener.getLogger().println();
final OfflineCause offlineCause = node.toComputer().getOfflineCause();
if (offlineCause != null) {
diff --git a/core/src/main/java/hudson/model/AbstractProject.java b/core/src/main/java/hudson/model/AbstractProject.java
index 458d1b8f64..9cdda2e2c0 100644
--- a/core/src/main/java/hudson/model/AbstractProject.java
+++ b/core/src/main/java/hudson/model/AbstractProject.java
@@ -270,7 +270,7 @@ public abstract class AbstractProject
,R extends A
final Jenkins j = Jenkins.getInstance();
final List nodes = j != null ? j.getNodes() : null;
if(nodes!=null && !nodes.isEmpty()) {
- // if a new job is configured with Hudson that already has slave nodes
+ // if a new job is configured with Hudson that already has agent nodes
// make it roamable by default
canRoam = true;
}
@@ -409,7 +409,7 @@ public abstract class AbstractProject
,R extends A
/**
* Set of labels relevant to this job.
*
- * This method is used to determine what slaves are relevant to jobs, for example by {@link View}s.
+ * This method is used to determine what agents are relevant to jobs, for example by {@link View}s.
* It does not affect the scheduling. This information is informational and the best-effort basis.
*
* @since 1.456
@@ -502,7 +502,7 @@ public abstract class AbstractProject
,R extends A
* Gets the directory where the module is checked out.
*
* @return
- * null if the workspace is on a slave that's not connected.
+ * null if the workspace is on an agent that's not connected.
* @deprecated as of 1.319
* To support concurrent builds of the same project, this method is moved to {@link AbstractBuild}.
* For backward compatibility, this method returns the right {@link AbstractBuild#getWorkspace()} if called
@@ -1268,7 +1268,7 @@ public abstract class AbstractProject
,R extends A
try {
workspace.mkdirs();
} catch (IOException e) {
- // Can't create workspace dir - Is slave disk full ?
+ // Can't create workspace dir - Is agent disk full ?
new DiskSpaceMonitor().markNodeOfflineIfDiskspaceIsTooLow(build.getBuiltOn().toComputer());
throw e;
}
@@ -1402,7 +1402,7 @@ public abstract class AbstractProject
,R extends A
// At this point we start thinking about triggering a build just to get a workspace,
// because otherwise there's no way we can detect changes.
// However, first there are some conditions in which we do not want to do so.
- // give time for slaves to come online if we are right after reconnection (JENKINS-8408)
+ // give time for agents to come online if we are right after reconnection (JENKINS-8408)
long running = Jenkins.getInstance().getInjector().getInstance(Uptime.class).getUptime();
long remaining = TimeUnit2.MINUTES.toMillis(10)-running;
if (remaining>0 && /* this logic breaks tests of polling */!Functions.getIsUnitTest()) {
@@ -1411,7 +1411,7 @@ public abstract class AbstractProject
,R extends A
return NO_CHANGES;
}
- // Do not trigger build, if no suitable slave is online
+ // Do not trigger build, if no suitable agent is online
if (workspaceOfflineReason.equals(WorkspaceOfflineReason.all_suitable_nodes_are_offline)) {
// No suitable executor is online
listener.getLogger().print(Messages.AbstractProject_AwaitingWorkspaceToComeOnline(running/1000));
@@ -1422,7 +1422,7 @@ public abstract class AbstractProject
,R extends A
Label label = getAssignedLabel();
if (label != null && label.isSelfLabel()) {
// if the build is fixed on a node, then attempting a build will do us
- // no good. We should just wait for the slave to come back.
+ // no good. We should just wait for the agent to come back.
listener.getLogger().print(Messages.AbstractProject_NoWorkspace());
listener.getLogger().println( " (" + workspaceOfflineReason.name() + ")");
return NO_CHANGES;
diff --git a/core/src/main/java/hudson/model/Computer.java b/core/src/main/java/hudson/model/Computer.java
index 4ce4a3b7a3..f0f5c935ec 100644
--- a/core/src/main/java/hudson/model/Computer.java
+++ b/core/src/main/java/hudson/model/Computer.java
@@ -284,7 +284,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
/**
- * Directory where rotated slave logs are stored.
+ * Directory where rotated agent logs are stored.
*
* The method also creates a log directory if required.
*
@@ -293,7 +293,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
protected @Nonnull File getLogDir() {
File dir = new File(Jenkins.getInstance().getRootDir(),"logs/slaves/"+nodeName);
if (!dir.exists() && !dir.mkdirs()) {
- LOGGER.severe("Failed to create slave log directory " + dir.getAbsolutePath());
+ LOGGER.severe("Failed to create agent log directory " + dir.getAbsolutePath());
}
return dir;
}
@@ -306,7 +306,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
/**
- * Gets the string representation of the slave log.
+ * Gets the string representation of the agent log.
*/
public String getLog() throws IOException {
return Util.loadFile(getLogFile());
@@ -383,12 +383,12 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
public abstract Charset getDefaultCharset();
/**
- * Gets the logs recorded by this slave.
+ * Gets the logs recorded by this agent.
*/
public abstract List getLogRecords() throws IOException, InterruptedException;
/**
- * If {@link #getChannel()}==null, attempts to relaunch the slave agent.
+ * If {@link #getChannel()}==null, attempts to relaunch the agent.
*/
public abstract void doLaunchSlaveAgent( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException;
@@ -618,8 +618,8 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
/**
- * This method is called to determine whether manual launching of the slave is allowed at this point in time.
- * @return {@code true} if manual launching of the slave is allowed at this point in time.
+ * This method is called to determine whether manual launching of the agent is allowed at this point in time.
+ * @return {@code true} if manual launching of the agent is allowed at this point in time.
*/
@Exported
public boolean isManualLaunchAllowed() {
@@ -647,8 +647,8 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
* Returns true if this computer can be launched by Hudson proactively and automatically.
*
*
- * For example, JNLP slaves return {@code false} from this, because the launch process
- * needs to be initiated from the slave side.
+ * For example, JNLP agents return {@code false} from this, because the launch process
+ * needs to be initiated from the agent side.
*/
@Exported
public boolean isLaunchSupported() {
@@ -661,7 +661,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
*
* In contrast, {@link #isOffline()} represents the actual online/offline
* state. For example, this method may return false while {@link #isOffline()}
- * returns true if the slave agent failed to launch.
+ * returns true if the agent failed to launch.
*
* @deprecated
* You should almost always want {@link #isOffline()}.
@@ -1142,7 +1142,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
/**
- * Gets the thread dump of the slave JVM.
+ * Gets the thread dump of the agent JVM.
* @return
* key is the thread name, and the value is the pre-formatted dump.
*/
@@ -1161,14 +1161,14 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
* This method tries to compute the name of the host that's reachable by all the other nodes.
*
*
- * Since it's possible that the slave is not reachable from the master (it may be behind a firewall,
+ * Since it's possible that the agent is not reachable from the master (it may be behind a firewall,
* connecting to master via JNLP), this method may return null.
*
* It's surprisingly tricky for a machine to know a name that other systems can get to,
* especially between things like DNS search suffix, the hosts file, and YP.
*
*
- * So the technique here is to compute possible interfaces and names on the slave,
+ * So the technique here is to compute possible interfaces and names on the agent,
* then try to ping them from the master, and pick the one that worked.
*
*
@@ -1177,7 +1177,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
* @since 1.300
* @return
* null if the host name cannot be computed (for example because this computer is offline,
- * because the slave is behind the firewall, etc.)
+ * because the agent is behind the firewall, etc.)
*/
public String getHostName() throws IOException, InterruptedException {
if(hostNameCached)
@@ -1339,7 +1339,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
if (vc instanceof Channel) {
w.println("Master to slave");
((Channel)vc).dumpExportTable(w);
- w.flush(); // flush here once so that even if the dump from the slave fails, the client gets some useful info
+ w.flush(); // flush here once so that even if the dump from the agent fails, the client gets some useful info
w.println("\n\n\nSlave to master");
w.print(vc.call(new DumpExportTableTask()));
@@ -1446,7 +1446,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
Node node = getNode();
int i = (node != null) ? nodes.indexOf(node) : -1;
if(i<0) {
- throw new IOException("This slave appears to be removed while you were editing the configuration");
+ throw new IOException("This agent appears to be removed while you were editing the configuration");
}
nodes.set(i, newNode);
app.setNodes(nodes);
@@ -1467,7 +1467,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
/**
- * Really deletes the slave.
+ * Really deletes the agent.
*/
@RequirePOST
public HttpResponse doDoDelete() throws IOException {
@@ -1520,7 +1520,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
/**
- * Returns {@code true} if the computer is accepting tasks. Needed to allow slaves programmatic suspension of task
+ * Returns {@code true} if the computer is accepting tasks. Needed to allow agents programmatic suspension of task
* scheduling that does not overlap with being offline.
*
* @return {@code true} if the computer is accepting tasks
@@ -1538,7 +1538,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
*/
@CLIResolver
public static Computer resolveForCLI(
- @Argument(required=true,metaVar="NAME",usage="Slave name, or empty string for master") String name) throws CmdLineException {
+ @Argument(required=true,metaVar="NAME",usage="Agent name, or empty string for master") String name) throws CmdLineException {
Jenkins h = Jenkins.getInstance();
Computer item = h.getComputer(name);
if (item==null) {
diff --git a/core/src/main/java/hudson/model/ComputerSet.java b/core/src/main/java/hudson/model/ComputerSet.java
index f887167058..c5992c828f 100644
--- a/core/src/main/java/hudson/model/ComputerSet.java
+++ b/core/src/main/java/hudson/model/ComputerSet.java
@@ -137,7 +137,7 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
}
/**
- * Gets all the slave names.
+ * Gets all the agent names.
*/
public List get_slaveNames() {
return new AbstractList() {
@@ -229,7 +229,7 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
}
/**
- * First check point in creating a new slave.
+ * First check point in creating a new agent.
*/
public synchronized void doCreateItem( StaplerRequest req, StaplerResponse rsp,
@QueryParameter String name, @QueryParameter String mode,
@@ -278,7 +278,7 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
}
/**
- * Really creates a new slave.
+ * Really creates a new agent.
*/
public synchronized void doDoCreateItem( StaplerRequest req, StaplerResponse rsp,
@QueryParameter String name,
@@ -295,12 +295,12 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
Node result = NodeDescriptor.all().find(type).newInstance(req, formData);
app.addNode(result);
- // take the user back to the slave list top page
+ // take the user back to the agent list top page
rsp.sendRedirect2(".");
}
/**
- * Makes sure that the given name is good as a slave name.
+ * Makes sure that the given name is good as an agent name.
* @return trimmed name if valid; throws ParseException if not
*/
public String checkName(String name) throws Failure {
@@ -318,7 +318,7 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
}
/**
- * Makes sure that the given name is good as a slave name.
+ * Makes sure that the given name is good as an agent name.
*/
public FormValidation doCheckName(@QueryParameter String value) throws IOException, ServletException {
Jenkins.getInstance().checkPermission(Computer.CREATE);
diff --git a/core/src/main/java/hudson/model/Hudson.java b/core/src/main/java/hudson/model/Hudson.java
index 9792d38e1c..4234697923 100644
--- a/core/src/main/java/hudson/model/Hudson.java
+++ b/core/src/main/java/hudson/model/Hudson.java
@@ -106,7 +106,7 @@ public class Hudson extends Jenkins {
}
/**
- * Gets the slave node of the give name, hooked under this Hudson.
+ * Gets the agent of the give name, hooked under this Hudson.
*
* @deprecated
* Use {@link #getNode(String)}. Since 1.252.
@@ -129,7 +129,7 @@ public class Hudson extends Jenkins {
}
/**
- * Updates the slave list.
+ * Updates the agent list.
*
* @deprecated
* Use {@link #setNodes(List)}. Since 1.252.
diff --git a/core/src/main/java/hudson/model/Label.java b/core/src/main/java/hudson/model/Label.java
index ff32c1f940..74a9fa6901 100644
--- a/core/src/main/java/hudson/model/Label.java
+++ b/core/src/main/java/hudson/model/Label.java
@@ -237,8 +237,8 @@ public abstract class Label extends Actionable implements Comparable