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

Commit b29bf5e

Browse files
author
Bernhard Grünewaldt
committed
doc and final rename
1 parent a23ce1a commit b29bf5e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ curl -X POST \
77
-H "Content-Type: application/json" \
88
-H "x-hub-signature: sha1=5b8a54ee48efb1fbe06e3e4fc5d120680eaa2a22" \
99
-d @test-webhook-payload.json \
10-
http://localhost:8080/jenkins/github-webhook-notifier/receive
10+
http://localhost:8080/jenkins/github-webhook-build-trigger/receive
1111
```
1212

1313
* With GitHub Secret being: `foobar23`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Ok. Still here?! Then this might be for you :bowtie:
4141

4242
### Webhook - The only who tells the truth!
4343

44-
![](https://codeclou.github.io/jenkins-github-webhook-build-trigger-plugin/img/webhook-payload---with-overlays.png)
44+
![](https://codeclou.github.io/jenkins-github-webhook-build-trigger-plugin/img/webhook-payload---with-overlays.png?v2)
4545

4646
-----
4747

@@ -85,7 +85,7 @@ When using matrix-based security the 'Anonymous' user needs 'Job' `build,discove
8585
### GitHub Webhook Configuration
8686

8787
* **Payload URL**
88-
* `https://jenkins.foo/jenkins/github-webhook-notifier/receive`
88+
* `https://jenkins.foo/jenkins/github-webhook-build-trigger/receive`
8989
* Note: The endpoint can be called without authentication.
9090
* **Content type**
9191
* `application/json`

src/main/java/io/codeclou/jenkins/githubwebhookbuildtriggerplugin/GithubWebhookBuildTriggerAction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class GithubWebhookBuildTriggerAction implements UnprotectedRootAction {
3030

3131
@Override
3232
public String getUrlName() {
33-
return "github-webhook-notifier";
33+
return "github-webhook-build-trigger";
3434
}
3535

3636
@Override
@@ -40,11 +40,11 @@ public String getIconFileName() {
4040

4141
@Override
4242
public String getDisplayName() {
43-
return "github-webhook-notifier";
43+
return "github-webhook-build-trigger";
4444
}
4545

4646
/*
47-
* http://jenkins.foo/github-webhook-notifier/receive
47+
* http://jenkins.foo/github-webhook-build-trigger/receive
4848
*/
4949
@RequirePOST
5050
public HttpResponse doReceive(HttpServletRequest request, StaplerRequest staplerRequest) throws IOException, ServletException {

0 commit comments

Comments
 (0)