GitHub Webhook: Organization Folder Bee Bot July 13, 2022 11:02 Updated The content of this article has moved to the new documentation site. Related articles GitHub Integration: Webhooks GitHub: Webhook Troubleshooting Preventing builds from getting triggered when creating a new multibranch Pipeline or Organization Folder How can I purge/clean the build queue? GitHub: How to configure status checks per Pipeline stage for Pull Requests Comments 3 comments Sort by Date Votes Imran Malik January 09, 2019 20:49 is there a init.groovy code to configure these Github Enterprise settings automatically? 0 Allan Burdajewicz January 11, 2019 02:03 Hello Imran, In groovy, you could set the endpoint like the following: def githubGlobalConfig = org.jenkinsci.plugins.github_branch_source.GitHubConfiguration.get()githubGlobalConfig.get().setEndpoints([ new org.jenkinsci.plugins.github_branch_source.Endpoint("https://my.github.first.example.com/api/v3", "MyGitHubFirstExample"), new org.jenkinsci.plugins.github_branch_source.Endpoint("https://my.github.second.example.com/api/v3", "MyGitHubSecondExample"),])githubGlobalConfig.save() See org.jenkinsci.plugins.github_branch_source.GitHubConfiguration for more details. Regards, 0 Zacky Azoulay November 19, 2019 15:16 Hi Is there a way to add "Cancel Build on Update" for "github organization" plugin like in" GitHub Pull Request Builder" plugin Thanks Zacky 0 Please sign in to leave a comment.