Hi all, I'm struggling to find some elegant solution to this problem, so I'm asking if anybody got stuck with this before and if any specific plugin exists that might take me to the solution. I need to dynamically build one or more configuration files and to deploy them to a number of servers. Deployment is by scp/ssh/sftp by the means of a local user on the remote system (access might be either by key or password) plus a "sudo cp" action to move the file in position. Now the problem is the deployment destination. That is likely to change everytime, and might be either a single server or a group of servers. If it's a group, I can assume that the same username/key/password can be used for all of them. Unluckily, it looks like that no "deploy server" option can be set. I also tried to use the credentials plugin with the "password as build parameter" plugin to fire up a custom script or to launch a matrix style job with a simpler script, but the later only supports passwords and not keys. The credentials plugin would be fine if I could use it alone, but since it just returns an uuid it's of no use without a companion plugin to consumer the code it generates. A very dirty solution would be to pass the key or password as a parameter when I build, but that would mean possible sharing the password with a number of people and our policies do not allow for that (besides it being possibly time consuming as it would force us to keep the passwords locally). Any ideas?
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a4e2b44d-1c2c-4ee5-85c9-5447b2ddc691%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.