From 33ac845bf57853ff59335a40b4d564ef62ca58b7 Mon Sep 17 00:00:00 2001 From: jherns Date: Thu, 13 Apr 2023 11:37:10 -0400 Subject: [PATCH] get jobid properly --- src/Runner.Worker/ActionManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/ActionManager.cs b/src/Runner.Worker/ActionManager.cs index 0ba2fe9cac6..80b9db793b6 100644 --- a/src/Runner.Worker/ActionManager.cs +++ b/src/Runner.Worker/ActionManager.cs @@ -658,7 +658,7 @@ private async Task BuildActionContainerAsync(IExecutionContext executionContext, { if (MessageUtil.IsRunServiceJob(executionContext.Global.Variables.Get("job_request_type"))) { - actionDownloadInfos = await launchServer.ResolveActionsDownloadInfoAsync(executionContext.Global.Plan.PlanId, Guid.Parse(executionContext.Global.Variables.Get("system.jobId")), new WebApi.ActionReferenceList { Actions = actionReferences }, executionContext.CancellationToken); + actionDownloadInfos = await launchServer.ResolveActionsDownloadInfoAsync(executionContext.Global.Plan.PlanId, executionContext.Root.Id, new WebApi.ActionReferenceList { Actions = actionReferences }, executionContext.CancellationToken); } else {