Skip to content

Commit 0e684f6

Browse files
Tasks: implement task failed trigger
Run task if any preceding task failed
1 parent 4291839 commit 0e684f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Certify.Core/Management/CertifyManager/CertifyManager.DeploymentTasks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private async Task<List<ActionStep>> PerformTaskList(ILog log, bool isPreviewOnl
252252
task.TaskConfig.DateLastExecuted = DateTimeOffset.UtcNow;
253253

254254
wasTaskExecuted = true;
255-
taskResults = await task.Execute(log, _credentialsManager, result, cancellationToken: CancellationToken.None, new DeploymentContext { PowershellExecutionPolicy = _serverConfig.PowershellExecutionPolicy }, isPreviewOnly: isPreviewOnly);
255+
taskResults = await task.Execute(log, _credentialsManager, result, new DeploymentContext { PowershellExecutionPolicy = _serverConfig.PowershellExecutionPolicy }, isPreviewOnly: isPreviewOnly, cancellationToken: CancellationToken.None);
256256

257257
if (!isPreviewOnly)
258258
{

0 commit comments

Comments
 (0)