0

I want to set in Jenkins jobs triggering Build after each commit I dont have access to Setting in my repository on Github, so I don't have possibility using WebHook.

What is the best/.easy way to set this in other way?

I have jobs for private repository Github, and clone project by SSH I also using Github Oauth Token

Jenkins Continuous Integration Server is on running on a Ubuntu host

python
  • 1
  • 3

1 Answers1

0

You can use local git hook pre-push. It runs after you issue the "git push" command. (but executes before pushing)

See example: pre-push hook

Yarimadam
  • 1,128
  • 9
  • 12