title: use files checked out from previous job in another job in an Azure pipeline
body: <p>I have a pipeline I created in Azure DevOps that builds an Angular application and runs some tests on it. I separated the pipeline into two jobs, Build and Test. The Build job completes successfully. The Test job checks out the code from Git again even though the Build job already did it. The Test job needs the files created in the Build job in order to run successfully like the npm packages.</p>
  <p>Here is my YAML file:</p>
  <pre><code>trigger:
    - develop
  variables:
      npm_config_cache: $(Pipeline.Workspace)/.npm
      system.debug: false
  stages:
    - stage: Client
      pool:
          name: Windows
      jobs:
        - job: Build
          displayName: Build Angular
          steps:
            - template: templates/angularprodbuild.yml
        - job: Test
          displayName: Run Unit and Cypress Tests
          dependsOn: Build
          steps:
            - template: templates/angularlinttest.yml          
            - template: templates/angularunittest.yml
            - template: templates/cypresstest.yml
  </code></pre>
  <p>My agent pool is declared at the stage level so both jobs would be using the same agent. Also I added a dependsOn to the Test job to ensure the same agent would be used. After checking logs, the same agent is in fact used.</p>
  <p>How can I get the Test job to use the files that were created in the Build job and not checkout the code again? I'm using Angular 11 and Azure DevOps Server 2020 if that helps.</p>