From e90991c03c6c0d09f4ce0a0a5d9ed15f464bc87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 9 Oct 2023 17:37:42 +0200 Subject: [PATCH 1/2] Fix extra space after HELIX_WORKITEM_ID variable This causes an error when copy-pasted into the shell otherwise. --- DevOps.Util/HelixServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevOps.Util/HelixServer.cs b/DevOps.Util/HelixServer.cs index 9c4360b..da736e5 100644 --- a/DevOps.Util/HelixServer.cs +++ b/DevOps.Util/HelixServer.cs @@ -126,7 +126,7 @@ string SetVariable(string name, string value) => Console.WriteLine(SetVariable("HELIX_CORRELATION_PAYLOAD", correlationDir)); Console.WriteLine(SetVariable("HELIX_PYTHONPATH", "echo skipping python")); Console.WriteLine(SetVariable("HELIX_WORKITEM_FRIENDLYNAME", workItemInfo.WorkItemId!)); - Console.WriteLine(SetVariable("HELIX_WORKITEM_ID ", workItemInfo.WorkItemId!)); + Console.WriteLine(SetVariable("HELIX_WORKITEM_ID", workItemInfo.WorkItemId!)); Console.WriteLine(SetVariable("HELIX_WORKITEM_PAYLOAD", itemDir)); Console.WriteLine(SetVariable("HELIX_WORKITEM_ROOT", itemDir)); Console.WriteLine(SetVariable("HELIX_WORKITEM_UPLOAD_ROOT", itemDir)); From 945c5e9aa889f1ee323edd9fc516d8a83b000947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 9 Oct 2023 17:38:35 +0200 Subject: [PATCH 2/2] HELIX_CURRENT_LOG too --- DevOps.Util/HelixServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevOps.Util/HelixServer.cs b/DevOps.Util/HelixServer.cs index da736e5..16e9871 100644 --- a/DevOps.Util/HelixServer.cs +++ b/DevOps.Util/HelixServer.cs @@ -131,7 +131,7 @@ string SetVariable(string name, string value) => Console.WriteLine(SetVariable("HELIX_WORKITEM_ROOT", itemDir)); Console.WriteLine(SetVariable("HELIX_WORKITEM_UPLOAD_ROOT", itemDir)); Console.WriteLine(SetVariable("HELIX_DUMP_FOLDER", itemDir)); - Console.WriteLine(SetVariable("HELIX_CURRENT_LOG ", Path.Combine(itemDir, "log.txt"))); + Console.WriteLine(SetVariable("HELIX_CURRENT_LOG", Path.Combine(itemDir, "log.txt"))); if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { Console.WriteLine($"chmod +x {workItemInfo.Command}");