Skip to content

Commit

Permalink
DOP-4414 testing job prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 16, 2024
1 parent 68bd960 commit bb47d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,14 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr
for (const s in SMOKETEST_SITES) {
names = names + s;
const repoName = SMOKETEST_SITES[s];
if (repoName == 'docs') return true;
const jobTitle = 'Smoke Test ' + repoName;
let repoInfo, projectEntry, repoOwner;

try {
repoInfo = await docsetsRepository.getRepo(repoName);
projectEntry = await projectsRepository.getProjectEntry(repoInfo.project);
repoOwner = projectEntry.github.organization;
if (repoName == 'docs') return true;
} catch {
return (
'repoInfo, projectEntry, or repoOwner not found. Repo info: ' +
Expand Down

0 comments on commit bb47d60

Please sign in to comment.