From 0f314e2da58a46a9509c523c3a58060135fdbcd0 Mon Sep 17 00:00:00 2001 From: "svc.appcenter" Date: Thu, 26 May 2022 19:32:25 -0300 Subject: [PATCH] fix/Add Repo part for user azure server 2020 Signed-off-by: Joao Paulo Moreira Antunes --- packages/integration/src/azure/AzureUrl.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/integration/src/azure/AzureUrl.ts b/packages/integration/src/azure/AzureUrl.ts index 76de8550ed..1161ab7a1b 100644 --- a/packages/integration/src/azure/AzureUrl.ts +++ b/packages/integration/src/azure/AzureUrl.ts @@ -37,6 +37,10 @@ export class AzureUrl { owner = parts[1]; project = parts[2]; repo = parts[4]; + } else if (parts[4] === '_git') { + owner = `${parts[1]}/${parts[2]}`; + project = parts[3]; + repo = parts[5]; } if (!owner || !project || !repo) {