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

Ability to use Environment Variables in Server Name and Label in Publish to SSH Server Plugin

    XMLWordPrintable

Details

    Description

      I've more than a dozen environment with similar build configuration and artifacts to be uploaded from the Jenkins server. I pull up the code from SVN and then modifies it according to the target Environment (taking target Environment Name as parameters from User) and then modifies that environment-specific details in the artifacts and then upload it to the target server using Publish over SSH plugin. Now, this was okay until I had 6 Environment but the servers are increasing day-by-day and it is hard to configure the target server every time. Moreover, I have 12 such build jobs.

      It would be helpful if I could configure Environment Variables in the Server Name and then the plugin could actually search for the server in the list of configured servers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            19shank91 Shashank Goel
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: