diff --git a/pkg/app/piped/executor/analysis/analysis.go b/pkg/app/piped/executor/analysis/analysis.go index dbb809205f..fcea620679 100644 --- a/pkg/app/piped/executor/analysis/analysis.go +++ b/pkg/app/piped/executor/analysis/analysis.go @@ -116,6 +116,7 @@ func (e *Executor) Execute(sig executor.StopSignal) model.StageStatus { continue } status = model.StageStatus_STAGE_SKIPPED + // Stop the context to cancel all running analysises. ctxWithTimeout.Done() return case <-doneCh: