Hi, I have added credentials for Jenkins to be able to add a webhook. For that I did the following:
1. Generated personal access token on GitHub with repo and admin:repo_hook scopes. 2. Added Secret text credentials with corresponding token. 3. Added GitHub Server with credentials from the previous step in Manage Jenkins > Configure System. But then when I create Pipeline job, I see in the system log: GitHub webhooks activated for job p1 with [] (events: [PUSH]) With Freestyle project I get: GitHub webhooks activated for job fsp1 with [GitHubRepositoryName[host=github.com,username=user,repository=repo]] (events: [PUSH]) PING webhook received from repo <https://github.com/user/repo>! For Freestyle project I did the following: 1. On Source Code Management tab chose Git, specified repository URL and credentials from before. 2. Checked GitHub hook trigger for GITScm polling. For Pipeline job: 1. Checked GitHub project and specified repository URL. 2. Checked GitHub hook trigger for GITScm polling. What am I missing? Thanks in advance. P.S. https://stackoverflow.com/questions/44731129/how-to-make-jenkins-automatically-add-webhook-for-pipeline-job -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2971231d-6131-4e8d-a1dd-35dce9a52134%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
