From 304cc33bfd9b9024a9c23419535b86dfaa7bc0e9 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:23:17 -0400 Subject: [PATCH] DOP-4414 testing job prefix --- api/controllers/v2/github.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index 6b4b60893..2ad67acb7 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -215,10 +215,10 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr ); } - const jobPrefix = repoInfo?.prefix ? repoInfo['prefix'][env] : ''; + const jobPrefix = 'testing'; + // repoInfo?.prefix ? repoInfo['prefix'][env] : ''; //add commit hash to jobPrefix here? - // const ammendedJobPrefix = body.after ? jobPrefix + body.after : jobPrefix; - // const prefix = ammendedJobPrefix; + // const prefix = jobPrefix + "/" + body.workflow_run.head_sha; const payload = await createPayload(repoName, true, jobPrefix, repoBranchesRepository, repoInfo, repoOwner);