Skip to content

Commit ba4f5e8

Browse files
committed
added a help page
1 parent bcc9d7e commit ba4f5e8

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

src/main/resources/com/cloudbees/jenkins/GitHubPushTrigger/global.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<f:nested>
66
<table style="width:100%">
77
<j:if test="${descriptor.allowsHookUrlOverride()}">
8-
<f:optionalBlock title="${%Override Hook URL}" name="hookUrl" checked="${instance.hasOverrideURL()}">
8+
<f:optionalBlock title="${%Override Hook URL}" field="hookUrl" checked="${instance.hasOverrideURL()}">
99
<f:entry>
1010
<f:textbox value="${instance.hookUrl}" name="url"/>
1111
</f:entry>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
2+
<l:ajax>
3+
<div>
4+
If your Jenkins runs inside the firewall and not directly reachable from the internet,
5+
set up a reverse proxy, port tunneling, and so on so that GitHub can deliver a POST request
6+
to your Jenkins at <tt><a href="${rootURL}/github-webhook/">${app.rootUrl}github-webhook/</a></tt>.
7+
Then specify the URL that GitHub should POST to here.
8+
</div>
9+
</l:ajax>
10+
</j:jelly>

0 commit comments

Comments
 (0)