title: AWS CodePipeline advanced tutorial with jenkins
body: <p>I'm running through AWS CodePipeline tutorial and there is <a href="http://docs.aws.amazon.com/codepipeline/latest/userguide/getting-started-4.html#getting-started-4-add-stage-part-1-jenkins" rel="nofollow">this step</a></p>
  
  <p>saying that I have to create a jenkins job running bash script which will connect to the EC2 instance (not the one where jenkins is running, but the one where the code has been deployed earlier).</p>
  
  <p>It is said that I have to connect to the EC2 instance by running this command in bash script:</p>
  
  <pre><code>TEST_IP_ADDRESS=192.168.0.4 rake test
  </code></pre>
  
  <p>But my gut feeling is saying that this step is completely wrong.</p>
  
  <p>There is no variable with this name, and there is no option to connect to external instance just like that.</p>
  
  <p>I've completed all the steps successfully, but this one is obviously wrong  </p>