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

          ismail ouriaghli created issue -
          ismail ouriaghli made changes -
          Labels New: documentation plugin ssh-agent
          ismail ouriaghli made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          ismail ouriaghli made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164415 ] New: JNJira + In-Review [ 209028 ]

          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: