title: How to include multiple pipeline scripts into jenkinsfile
body: <p>I have a jenkins file as below</p>
  
  <pre><code>pipelineJob('My pipeline job'){
  displayName('display name')
  logRotator {
      numToKeep(10)
      daysToKeep(30)
      artifactDaysToKeep(7)
      artifactNumToKeep(1)
  }
  definition{
      cps {
          script(readFileFromWorkspace('./cicd/pipelines/clone_git_code.groovy'))
          script(readFileFromWorkspace('./cicd/pipelines/install_dependencies_run_quality_checks.groovy'))
      }
  }
  }
  </code></pre>
  
  <p>with above jenkinsfile the last <code>script</code> file is replacing other scripts.
  Basically I have split tasks into multiple groovy files so that i wont repeat the same code in all jenkinsfile and reuse the same for other jobs as well, like I can now use the <code>clone_git_code.groovy</code> script in dev build as well as QA builds.</p>