My requirement is that whenever developers click on github, they must run on the Jenkins server before pushing the CI assembly. If this assembly failed, then clicking on github should be rejected. I need to write hooks for this, but I do not want to write client-side clicks, as they can be disabled by developers. I want to use github sites on the server side or pre-connect to them.
Now, can this be achieved? If so, where to start? Do I need knowledge of the Rest API? Do I need to write shell scripts?
source share