-
Bug
-
Resolution: Duplicate
-
Minor
-
None
the plugin does not seem to be registering the webhook when i create a new project.
i have the 'manage hooks' checkbox checked in the github plugin section and the webhook does register if i click 'register for all projects', but i need this to be automatically get up when the project gets created.
- is related to
-
JENKINS-37845 GitHub plugin build-on-push for Pipeline job is hard/unpredictable to work with
-
- Resolved
-
i spent some time looking into this and i don't see any way in the current implementation this can be accomplished.
is there some way to get a reference to the Job object(s) that are created once the scan completes? from there all that should be required (i think) is to get a reference to com.cloudbees.jenkins.GitHubWebHook and call registerHookFor passing it the Job object(s).