(refs #167)Add pusher info to WebHook

This commit is contained in:
takezoe
2013-10-31 02:07:54 +09:00
parent bd0ecd0a9d
commit 8ec4b52dda
2 changed files with 5 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class GitRepositoryServlet extends GitServlet {
def getServletContext(): ServletContext = config.getServletContext
def getServletName(): String = config.getServletName
});
})
super.init(config)
}
@@ -135,6 +135,7 @@ class CommitLogHook(owner: String, repository: String, userName: String, baseURL
if(webHookURLs.nonEmpty){
val payload = WebHookPayload(
git,
getAccountByUserName(userName).get,
command.getRefName,
getRepository(owner, repository, baseURL).get,
newCommits,