From 68bd960fa8622b1a64ff63a8c6c25c6da9c1f71b Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Sat, 16 Mar 2024 14:52:16 -0400 Subject: [PATCH] DOP-4414 testing job prefix --- api/controllers/v2/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index 2de45d10d..72f1709be 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -194,8 +194,9 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr async function createAndInsertJob() { let names = ''; for (const s in SMOKETEST_SITES) { - names += s; + names = names + s; const repoName = SMOKETEST_SITES[s]; + if (repoName == 'docs') return true; const jobTitle = 'Smoke Test ' + repoName; let repoInfo, projectEntry, repoOwner; @@ -233,7 +234,6 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr } // deployable.push(job); } - return names; // try { // await jobRepository.insertBulkJobs(deployable, c.get('jobsQueueUrl'));