-
Improvement
-
Resolution: Not A Defect
-
Blocker
is not clear how to use the expression parameter in ssh-agent
can you please give some hints or update the doc
[JENKINS-29538] HowTo use parameter expression
Labels | New: documentation plugin ssh-agent |
Priority | Original: Minor [ 4 ] | New: Blocker [ 1 ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 164415 ] | New: JNJira + In-Review [ 209028 ] |
You should set one of the "Credentials Parameter" of your job.
Example, in your job you create a new parameter of type "Credential Parameter" named "mysecret".
Then, in the "Expression parameter" you set "${mysecret}".
Here is the function doing all the work.
You cannot use other type of parameter (string parameter for example) because is filtered