title: Ideas to implement dynamic parallel build using jenkins pipeline plugin
body: <p>I have a requirement to run a set of tasks for a build in parallel, The tasks for the build are dynamic it may change. I need some help in the implementation of that below are the details of it.</p>
  
  <p>I tasks details for a build will be generated dynamically in an xml which will have information of which tasks has to be executed in parallel/serial</p>
  
  <p>example:</p>
  
  <p>say there is  a build A.</p>
  
  <p>Which had below task and the order of execution , first task 1 has to be executed next task2 and task3 will be executed in parallel and next is task 4</p>
  
  <p>task1<br>
  task2,task3<br>
  task4<br></p>
  
  <p>These details will be in an xml dynamically generated , how can i parse that xml and schedule task accordingly using pipeline plugin. I need some idea to  start of with.</p>