afterTaskExecution

hook that is called after a task executes successfully.

As an example you can modify the taskResult here before it gets propagated.

Return

taskResult The result of executing the task.

Parameters

stage

The stage for the task execution.

task

The task that is being handled.

taskResult

The result of executing the task.