Exemplo n.º 1
0
 /// <summary>
 /// Our internal way to update when a build has been uploaded to Trail.
 /// </summary>
 internal static void UpdateBuildCacheUpload()
 {
     VerifyCache();
     cache.Uploaded   = true;
     cache.UploadTime = DateTime.Now;
     cache.Save();
 }
Exemplo n.º 2
0
        /// <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();
        }