title: Use Jenkins to compare files in two nodes
body: <p>I wonder are there features for jenkins to capture the result /data in a node and persist it in master.</p>
  
  <p>I come up with the scenario that I need to check some folders in two machines to see whether they have same no of files &amp; same size. </p>
  
  <p>If hudson can save some result like "ls -ltR" in master , then I can gather at both node the results in two jobs then compare.</p>
  
  <p>Are there any elegant solution to this simple problem?</p>
  
  <p>currently I can connect two machines to each other via SSH and solve the problem, while this connection is not always available.
  (With SSH I believe the best way is to use rsync -an /path/to/ hostB:/path/to/)</p>