code: protected VelocityContext createTemplateContext() {
          VelocityContext context = new VelocityContext();
          context.put("result", result);
          context.put("hasRejections", result.hasRejections());
          context.put("licenses", createLicenseHistogram(result));
          context.put("creationTime", new SimpleDateFormat(DATE_FORMAT).format(new Date()));
  
          if (StringUtils.isNotBlank(buildName)) {
              context.put("buildName", buildName);
          }
          if (StringUtils.isNotBlank(buildNumber)) {
              context.put("buildNumber", buildNumber);
          }
          return context;
      }
docs: Create the context holding all the information of the report.
  @return the velocity context