title: Pipeline multiple jenkins jobs
body: <p>I am very new to Jenkins.</p>
  
  <p>There are multiple jobs already configured in Jenkins, As of now we are running all the jobs manually one after the other. I want to make it a single job by pipeline plugin, So that manual effort is reduced.</p>
  
  <p>I had gone through the links, It states we should have JenkinsFile in our repository it basically contains command's to execute the different tasks.</p>
  
  <p>But if i am configuring it in JenkinsFile how can give the existing job names ?</p>
  
  <p>Is it the only way to do a pipeline or is there any other way to achieve this ?</p>
  
  <p>Ex : I have three jobs</p>
  
  <ol>
  <li>build-dev-code</li>
  <li>test-dev-code</li>
  <li>deploy-stage</li>
  </ol>
  
  <p>I would like to pipeline all the three jobs,</p>
  
  <pre><code>  deploy-stage-ci 
  </code></pre>
  
  <p>So that it contains all the 3 above mentioned jobs.</p>