We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dafb1b commit bcc9d7eCopy full SHA for bcc9d7e
src/main/java/com/cloudbees/jenkins/GitHubPushTrigger.java
@@ -259,7 +259,7 @@ public static boolean allowsHookUrlOverride() {
259
/**
260
* Set to false to prevent the user from overriding the hook URL.
261
*/
262
- public static boolean ALLOW_HOOKURL_OVERRIDE = false;
+ public static boolean ALLOW_HOOKURL_OVERRIDE = !Boolean.getBoolean(GitHubPushTrigger.class.getName()+".disableOverride");
263
264
private static final Logger LOGGER = Logger.getLogger(GitHubPushTrigger.class.getName());
265
0 commit comments