code: public static void deleteFilePathOnExit(FilePath workspace, String path) throws IOException, InterruptedException {
          FilePath filePath = new FilePath(workspace, path);
          deleteFilePathOnExit(filePath);
      }
docs: Deletes a FilePath file on exit.
  
  @param workspace The build workspace.
  @param path      The path in the workspace.
  @throws IOException In case of a missing file.