title: Providing sum of execution time of previous jenkins jobs to next job in jenkins pipeline
body: <p>Need help in figuring out a way in which we can get sum of execution time for previous jobs to be provided as input for next job in jenkins pipeline.
  Say, P is a pipeline with n number of jobs</p>
  
  <blockquote>
    <p>J1 -> J2 -> J3 -> J4</p>
    
    <blockquote>
      <p>I want to provide J4  input of executionTime(J1 + J2 + J3)
      Can anyone help me to arive at solution.</p>
    </blockquote>
  </blockquote>