I did search in the previous bug reports about this topic and the various documentations available on the Internet.
Pls excuse me for re-posting the issue as the above references did not either solve the problem or the use-case scenarios were quite different.
I've created a small pipeline that uses basic steps to print messages on stdout, list files in dir. This job is working fine when triggered manually. The job's pipeline script is hosted in a public github repo which is hosted in our internal github enterprise server.
Github webhook was setup in such a way as to accept any event that arrives at this repo and send the event to the jenkins master. Though the push event reaches the Jenkins master, build job is not triggered.
I have attached the screenshot of the jenkins log where the push event is noticed.
Am I missing something here?
Any help would be appreciated.