Only one way to do things, others exist.
Workspaces are not actually distributed when distributed to multiple machines, because they exist as directories on each of several machines. To decide the coordination of items, any item that needs to be distributed from one workspace to another is copied to the central repository through SCP.
This means that sometimes I have a task to wait when planting items in the central repository. To fix this, I have the task of running a shell script that polls the repository through SCP for the necessary elements, and it is wrong if the elements are not available after five minutes.
The only drawback of this is that you need to pass a parameter (build number) to save assemblies on one page, not allowing one assembly to collect the previous version of the artifact. This and you must configure many SSH keys to avoid having to pass a password when running SSH scripts.
As I said, this is not an ideal solution, but I believe that it is more stable than the ssh artifact capture code for my specific version of Hudson (and my set of SSH servers).
One drawback, SSH servers of most Linux machines do not seem to have performance. A solution like mine tends to swamp your SSH server with a lot of connections coming in at about the same time. If you find that the same thing happens to you, you can add timer delays (simple, imperfections), or you can rebuild the SSH server with high-performance fixes. Once I hope that high-performance patches break into the base code of the SSH server, provided that they do not adversely affect the security of the SSH server.
source share