title: Jenkins: launch script to remote slave and get results
body: <p>It is the first time to jenkins, I apologize in advance if I cannot be precise in terms...
  I need run tests to ec2 slave and get result to jenkins, the test file is to git, every time I do a commit, I have to run a job on jenkins.</p>
  
  <p>I've create a slave and work and I've planned to use hooks to git for launch a build, but do not understand how I can run the script, is a php file. Should I use maven ? I have to copy the script on the master machine? How does it work?
  Thanks to anyone who wants to help me</p>