code: private void clearPipelineError() {
          File dir = new File(buildDirectory, "pipeline");
          if (dir.isDirectory()) {
              try {
                  FileUtils.cleanDirectory(dir);
              } catch (IOException e) {
                  getLog().warn("Cannot clean the pipeline directory", e);
              }
          }
      }
docs: Deletes all error report from the pipeline error directory.