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

          adrian lopez added a comment -

          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

          if (parameter instanceof CredentialsParameterValue) {

          adrian lopez added a comment - 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 if (parameter instanceof CredentialsParameterValue) {

            Unassigned Unassigned
            ismben ismail ouriaghli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: