private static void VerifyCache()
 {
     if (cache == null)
     {
         cache = new TrailBuildCache();
         cache.Load();
     }
 }
        /// <summary>
        /// Used to update build cache to track build location and time.
        /// </summary>
        /// <param name="report"></param>
        public static void UpdateBuildCache(BuildReport report)
        {
            if (report == null)
            {
                return;
            }

            if (report.summary.result != BuildResult.Succeeded)
            {
                return;
            }
            cache = new TrailBuildCache(report);
            cache.Save();
        }