Variables not resolving in SSH Steps plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: ssh-steps-plugin
    • None

      I don't know if this is a bug or I just don't know how to do it.  I'm using version 1.1.1 of the plugin.

       

      In the rest of the jenkinsfile I can refer to variables with ${VARIABLE_NAME}

      However, any variables within the SSH-steps command do not resolve.   Is there any way to feed these SSH-step commands variables?

       

      i.e.

      sshCommand remote: remote, command: "${ssh_cmd}"

       

      This  SSH's and tries to run the command "${ssh_cmd}"  which of course fails.

            Assignee:
            Naresh Rayapati
            Reporter:
            Dan Caldarola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: