code: public static BuildDataFile readBuildDataFile(FilePath ws, final String buildNumber, final String stepName, final String stepId) throws IOException, InterruptedException {
          return createAndGetTempDir(ws).act(new ReadBuildDataFileCallable(buildNumber, stepName, stepId));
      }
docs: Read pipeline build data from @tmp/artifactory-pipeline-cache/build-number directory.
  Used to transfer data between different steps in declarative pipelines.
  
  @param buildNumber - The build number.
  @param stepName    - The step name - One of 'artifactoryMaven', 'mavenDeploy', 'mavenResolve', 'buildInfo' and other declarative pipeline steps.
  @param stepId      - The step id specified in the pipeline.
  @throws IOException - In case of no read permissions.