title: Jenkins to build CloudFormation Stack then deploy code via CodeDeploy plugin
body: <p>I'm using Jenkins with CloudFormation and CodeDeploy plugin.</p>
  
  <p>I am able to use jenkins to build CloudFormation stack when there is new commit to my git repo.</p>
  
  <p>I'm able to deploy code to my EC2 instances in auto scaling group via CodeDeploy plugin as well.</p>
  
  <p>Question:</p>
  
  <p>How can I automate the entire process so that when my Jenkins job to create CloudFormation Stack is completed the CodeDeploy job can be triggered next to complete the code deployment process.</p>
  
  <p>Cheers</p>