Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31913

Expand ssh command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ssh-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Environment variables in the command text box should get expanded.
      For example if there is a command,
      'ls $DIRECTORY'

      where DIRECTORY is an enviroment variable with a user defined value injected during job's runtime.

      It should substitute $DIRECTORY with its value.

        Attachments

          Activity

          Hide
          ljader Łukasz Jąder added a comment -

          Closing - this has been fixed by exporting used env variables before the script.

          It works in recently released SSH 2.5.

          Show
          ljader Łukasz Jąder added a comment - Closing - this has been fixed by exporting used env variables before the script. It works in recently released SSH 2.5.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            arun197 arun suresh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: