Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Currently, the SCP Plugin only uses the host name as the "siteName" identifier. This prevents setting two different SCP connections to the same machine (the first instance of a hostname in the connection list is always chosen). This would be useful, for example, if two different projects want to archive artifacts on a shared server, but in different locations - or using a different username. A simple patch is attached (against r33992) that expands the site name to:
USER@hostname:root_path
This allows multiple connections to the same server using either different usernames or different root paths.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 137356 ] | JNJira + In-Review [ 187467 ] |
A different approach would be to simply allow giving every configuration a name, like "Staging environment" or "Test server".
And the best way might be to combine both when choosing a configuration, like:
Staging environment (user@server:path)
Test server (tester@testserver:deploypath)