From 14280a6dcad3a01a3b8914474a9cc21441c1a100 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Wed, 13 Mar 2024 00:14:40 -0400 Subject: [PATCH] DOP-4414 testing lambda --- api/controllers/v2/github.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index 540dd3881..17314013c 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -187,11 +187,11 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr for (const s in SMOKETEST_SITES) { //ensure repoTitle is consistent with other type of title - const jobTitle = 'Smoke Test' + s; + const repoName = SMOKETEST_SITES[s]; + const jobTitle = 'Smoke Test' + repoName; const repoInfo = await docsetsRepository.getRepo(s, path); - const repoName = s; const projectEntry = await projectsRepository.getProjectEntry(s); - return s; + return repoName; const repoOwner = projectEntry.github.organization; //add commit hash- how do you get commit hash?? @@ -226,7 +226,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr return { statusCode: 202, headers: { 'Content-Type': 'text/plain' }, - body: 'Jobs Queued 5' + projectEntry, + body: 'Jobs Queued 1' + projectEntry, }; } catch (err) { return {