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

Enject variable into the ssh username

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ssh-plugin
    • None

      Hello,

      I want to be able to use a parameterized build variable to inject the username in my ssh connection.

      $APPLICATION_USER = "test"
      $APPLICATION_USER @server would become test@server

      I already tried this, but failed. So I am guessing this feature is not yet implemented.

      There could be security problems, in production enviroment if you add a very risky server to manipulate and someone creating builds throws unsafe commands to the ssh server

      Thank you in advance.

            Unassigned Unassigned
            dbollaer Danny Bollaert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: