Skip to content

Commit 9052859

Browse files
authored
Replace usage of 'slave' with 'Jenkins agent'
If anyone prefers 'agent' alone that's OK, I tend to feel like 'Jenkins agent' reads a little better in this context.
1 parent 71cd8f4 commit 9052859

File tree

1 file changed

+3
-3
lines changed
  • src/main/resources/org/jenkinsci/plugins/docker/workflow/DockerDSL

1 file changed

+3
-3
lines changed

src/main/resources/org/jenkinsci/plugins/docker/workflow/DockerDSL/help.jelly

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The <code>docker</code> variable offers convenient access to Docker-related functions from a Pipeline script.
66
</p>
77
<p>
8-
Methods needing a slave will implicitly run a <code>node {…}</code> block if you have not wrapped them in one.
8+
Methods needing a Jenkins agent will implicitly run a <code>node {…}</code> block if you have not wrapped them in one.
99
It is a good idea to enclose a block of steps which should all run on the same node in such a block yourself.
1010
(If using a Swarm server, or any other specific Docker server, this probably does not matter, but if you are using the default server on localhost it likely will.)
1111
</p>
@@ -32,7 +32,7 @@
3232
<dd>
3333
<p>
3434
Specifies the name of a Docker installation to use, if any are defined in Jenkins global configuration.
35-
If unspecified, <code>docker</code> is assumed to be in the <code>$PATH</code> of the slave agent.
35+
If unspecified, <code>docker</code> is assumed to be in the <code>$PATH</code> of the Jenkins agent.
3636
</p>
3737
</dd>
3838
<dt><code>image(id)</code></dt>
@@ -75,7 +75,7 @@
7575
<dd>
7676
<p>
7777
Like <code>withRun</code> this starts a container for the duration of the body, but all external commands (<code>sh</code>) launched by the body run inside the container rather than on the host.
78-
These commands run in the same working directory (normally a slave workspace), which means that the Docker server must be on localhost.
78+
These commands run in the same working directory (normally a Jenkins agent workspace), which means that the Docker server must be on localhost.
7979
</p>
8080
</dd>
8181
<dt><code>Image.tag([tagname])</code></dt>

0 commit comments

Comments
 (0)