Skip to content

Commit

Permalink
Merge branch 'Releases/Beta' into BugFix/AddToDSParamsGettingRemoved
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRanjeetSingh authored Aug 16, 2023
2 parents f37fecc + 1881520 commit cd7f8a2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Ginger/GingerCoreNET/Run/RunsetExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,15 @@ private void FinishPublishResultsToAlmTask()
ALMResultsPublishTaskPool.Clear();
ALMResultsPublishTaskPool = null;
var runsetAction = WorkSpace.Instance.RunsetExecutor.RunSetConfig.RunSetActions.FirstOrDefault(f => f is RunSetActionPublishToQC && f.RunAt.Equals(RunSetActionBase.eRunAt.DuringExecution));
if (runsetAction.Status != RunSetActionBase.eRunSetActionStatus.Failed)
if (runsetAction != null)
{
runsetAction.Status = RunSetActionBase.eRunSetActionStatus.Completed;

if (WorkSpace.Instance.RunsetExecutor.RunSetConfig.RunSetActions.Any(f => f is RunSetActionPublishToQC && f.RunAt.Equals(RunSetActionBase.eRunAt.DuringExecution) && !string.IsNullOrEmpty(f.Errors)))
{
runsetAction.Status = RunSetActionBase.eRunSetActionStatus.Failed;
}
else { runsetAction.Status = RunSetActionBase.eRunSetActionStatus.Completed; }

}
}
}
Expand Down

0 comments on commit cd7f8a2

Please sign in to comment.