Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 011ee7c

Browse files
author
Bernhard Grünewaldt
committed
typo
1 parent a760dd5 commit 011ee7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/io/codeclou/jenkins/github/webhook/notifier/plugin/GithubWebhookNotifierPlugin.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ public class GithubWebhookNotifierPlugin extends Plugin {
2929
*/
3030
@RequirePOST
3131
public HttpResponse doReceive(HttpServletRequest request, StaplerRequest staplerRequest) throws IOException, ServletException {
32-
String jeninsRootUrl = Jenkins.getInstance().getRootUrl(); // will return something like: http://localhost:8080/jenkins/
32+
String jenkinsRootUrl = Jenkins.getInstance().getRootUrl(); // will return something like: http://localhost:8080/jenkins/
3333
BufferedReader reader = request.getReader();
3434
Gson gson = new Gson();
3535
try {
3636
GithubWebhookPayload githubWebhookPayload = gson.fromJson(reader, GithubWebhookPayload.class);
37-
String gitPluginNotifyUrl = jeninsRootUrl +
37+
// Trigger Git-Plugins notify push SCM Polling Endpoint
38+
String gitPluginNotifyUrl = jenkinsRootUrl +
3839
"git/notifyCommit?" +
3940
githubWebhookPayload.getRepository().getClone_url() +
4041
"&branches=" +

0 commit comments

Comments
 (0)