Skip to content

Commit 695e4ac

Browse files
Update src/main/resources/com/cloudbees/jenkins/plugins/sshagent/SSHAgentStep/help-credentials.html
Co-authored-by: Mark Waite <[email protected]>
1 parent 067d611 commit 695e4ac

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed
Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
<div>
2-
Select credentials from the list of credentials available to the job.
3-
</div>
2+
List of credentials to be used by the sshagent step.
3+
The Pipeline Syntax Snippet Generator will guide the user to select a single credential from the list of available, like this:
4+
<code>
5+
sshagent(credentials: ['my-credential-id']) {
6+
// some block
7+
}
8+
</code>
9+
The step also accepts a list of credential, like this:
10+
<code>
11+
sshagent(credentials: ['my-credential-id', 'my-alternate-credential', 'another-credential']) {
12+
// some block
13+
}
14+
</code>
15+
</div>

0 commit comments

Comments
 (0)