Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix CodePlex code path

  • Loading branch information...
commit a3c3388752237cafccf9daa806be031844bbd7a2 1 parent 1b2453a
@davidebbo davidebbo authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 Kudu.Services/GitServer/FetchHandler.cs
View
10 Kudu.Services/GitServer/FetchHandler.cs
@@ -275,6 +275,16 @@ private RepositoryInfo GetRepositoryInfo(HttpRequest request, string json)
}
}
}
+ else
+ {
+ // Look for the generic format
+ // { url: "", branch: "", deployer: "", oldRef: "", newRef: "" }
+ info.RepositoryUrl = payload.Value<string>("url");
+ info.Branch = payload.Value<string>("branch");
+ info.Deployer = payload.Value<string>("deployer");
+ info.OldRef = payload.Value<string>("oldRef");
+ info.NewRef = payload.Value<string>("newRef");
+ }
// If there's no specified branch assume master
if (String.IsNullOrEmpty(info.Branch))
Please sign in to comment.
Something went wrong with that request. Please try again.