/// <summary>
        /// Writes the notification .json to the install folder
        /// </summary>
        /// <param name="status"></param>
        /// <param name="postStepDetails"></param>
        public static void NotifiyPackageComplete(string status, PostStepDetails postStepDetails)
        {
            try
            {
                using (StreamWriter sw = File.CreateText(postStepDetails.ResultFileName))
                {
                    CompletionNotification completionNotification = new CompletionNotification
                    {
                        Status            = status,
                        ServerName        = Environment.MachineName,
                        DeployHistoryPath = postStepDetails.HistoryPath
                    };

                    sw.WriteLine(Newtonsoft.Json.JsonConvert.SerializeObject(completionNotification));
                }
            }
            catch (Exception ex)
            {
                Log.Fatal("Error posting to notification url", ex, typeof(InstallPackage));
            }
        }
 internal CompletionEventArgs(CompletionNotification notification)
 {
     Notification = notification;
 }