Reputation: 18963
I have added credentials for Jenkins to be able to add a webhook. For that I did the following:
repo
and admin:repo_hook
scopes.Secret text
credentials with corresponding token.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:
For Pipeline job:
What am I missing?
Upvotes: 5
Views: 2611
Reputation: 121
To make it add the webhook (after creating a pipeline):
It is a known issue. You can look it up here: https://issues.jenkins.io/browse/JENKINS-37217
Upvotes: 4
Reputation: 135
I have similar issue. I dont know why but It become well after run the job from blueocean.
Upvotes: 0