diff --git a/engine/api/workflow_run.go b/engine/api/workflow_run.go index b3f918777a..499f36cf18 100644 --- a/engine/api/workflow_run.go +++ b/engine/api/workflow_run.go @@ -289,11 +289,14 @@ func (api *API) getWorkflowRunHandler() service.Handler { if err != nil { return err } + + // loadRun, DisableDetailledNodeRun = false for calls from CDS Service + // as hook service. It's needed to have the buildParameters. run, err := workflow.LoadRun(api.mustDB(), key, name, number, workflow.LoadRunOptions{ WithArtifacts: true, WithLightTests: true, - DisableDetailledNodeRun: true, + DisableDetailledNodeRun: getService(ctx) == nil, }, ) if err != nil {