public void OnBuildDeployedAborted(ITargetDevice Device, BuildNode Build) { ThreadHelperClass.SetDeviceDeploymentResult(WinForm, DeviceView, Device, BuildDeploymentResult.Aborted); DeployedDeviceCount++; if (Devices.Count == DeployedDeviceCount) { Callback.OnDeploymentDone(this); } }
public void OnBuildDeployedError(ITargetDevice Device, BuildNode Build, string ErrorMessage) { ThreadHelperClass.SetDeviceDeploymentResult(WinForm, DeviceView, Device, BuildDeploymentResult.Failure); DeployedDeviceCount++; if (Devices.Count == DeployedDeviceCount) { Callback.OnDeploymentDone(this); } }
public void OnBuildDeployed(ITargetDevice Device, BuildNode Build) { if (WinForm != null && DeviceView != null) { ThreadHelperClass.SetDeviceDeploymentResult(WinForm, DeviceView, Device, BuildDeploymentResult.Success); } else { Console.WriteLine(string.Format("Build [{0}] has been successfully deployed on device [{1}]", Build.Number, Device.Name)); } Callback.OnDeploymentDone(this); }
public void OnBuildDeployedAborted(ITargetDevice Device, BuildNode Build) { Build.Progress = 0; if (WinForm != null && DeviceView != null) { ThreadHelperClass.SetDeviceDeploymentResult(WinForm, DeviceView, Device, BuildDeploymentResult.Aborted); } else { Console.WriteLine(string.Format("Deployment of build [{0}] to device [{1}] has been aborted !", Build.Number, Device.Name)); } Callback.OnDeploymentDone(this); }
public void OnBuildDeployedError(ITargetDevice Device, BuildNode Build, string ErrorMessage) { if (WinForm != null && DeviceView != null) { ThreadHelperClass.SetDeviceDeploymentResult(WinForm, DeviceView, Device, BuildDeploymentResult.Failure); } else { Console.WriteLine(string.Format("Following error happened while deploying build [{0}] to device [{1}] : {2}", Build.Number, Device.Name, ErrorMessage)); } Callback.OnDeploymentDone(this); }