Skip to content

Commit a996292

Browse files
committed
Replace deprecated terminology
1 parent 1eff4f1 commit a996292

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The goals are the maximum possible compatibility with existing plugins, and grea
1313

1414
A freestyle project has a single SCM configured in the UI that governs the one and only workspace for the build.
1515
A Pipeline can be configured similarly, but the SCM definition becomes a regular step in its script.
16-
In the simplest case you would just do an SCM clone/update at the start of your script, as soon as you have allocated a slave with a workspace:
16+
In the simplest case you would just do an SCM clone/update at the start of your script, as soon as you have allocated an agent with a workspace:
1717

1818
```
1919
node {
@@ -23,15 +23,15 @@ node {
2323
```
2424

2525
Jenkins will clone the repository into the workspace and continue with your script.
26-
(Subsequent builds will update rather than clone, if the same slave and workspace are available again.)
26+
(Subsequent builds will update rather than clone, if the same agent and workspace are available again.)
2727

2828
### Multiple SCMs
2929

3030
While freestyle projects can use the Multiple SCMs plugin to check out more than one repository,
3131
or specify multiple locations in SCM plugins that support that (notably the Git plugin),
3232
this support is quite limited.
3333
In a Pipeline you can check out multiple SCMs, of the same or different kinds, in the same or different workspaces, wherever and whenever you like.
34-
For example, to check out and build several repositories in parallel, each on its own slave:
34+
For example, to check out and build several repositories in parallel, each on its own agent:
3535

3636
```
3737
parallel repos.collectEntries {repo -> [/* thread label */repo, {
@@ -57,7 +57,7 @@ This means that you can run multiple SCMs, even from a dynamic list, and get a r
5757

5858
If you configure the _Poll SCM_ trigger in the Pipeline’s UI configuration screen, then by default Jenkins will also poll for changes according to the selected _Schedule_, and schedule new builds automatically if changes are detected.
5959
(Note that this configuration is not part of the Pipeline script, because it affects activities that Jenkins runs outside of the Pipeline.)
60-
Some SCMs allow polling with no workspace, which is ideal; others will try to lock the same slave and workspace previously used, to run polling on the slave.
60+
Some SCMs allow polling with no workspace, which is ideal; others will try to lock the same agent and workspace previously used, to run polling on the agent.
6161

6262
To avoid polling the server repeatedly, most SCM plugins allow remote commit triggers, such as the `/git/notifyCommit?url=…` HTTP endpoint in the case of the Git plugin.
6363
These also work with Pipelines, unless (as with freestyle projects) you checked _Ignore post-commit hooks_ in a _Poll SCM_ block.

0 commit comments

Comments
 (0)