Jenkins ssh on ip server passed as build parameter

My question is simple: is there a Jenkins ssh plugin with which I can perform a parameterized build with different ips servers. I tried Publish via ssh, but the ips server is registered on the jenkins configuration page and I could not find a way to add them as a build parameter.

+3
source share
2 answers

You must add all possible servers as SSH servers, assign a shortcut to each one (maybe ip) and configure / exec transfer commands for each of them, even if they are all the same.

Add a string parameter to your assembly for the server name, i.e. SERVERS.

" " "" . , (SERVERS), , .

Java - . * . ip- ip .

, .

+2

:

, , , , , .

0

All Articles