Hi All,
I am using latest Jenkins, Github enterprise with multiple repositories. Using Github org plugin to scan all relevant repositories hosting Jenkinsfile to trigger pipeline tasks. I have a stringent security requirement for few of our repositories, where I need to a pre-validate state of Jenkinsfile in Jenkins to ensure sanctity of Jenkinsfile (eg. md5 hash) before we trigger any task. We have put in controls on Github side eg. Codeowners to ensure appropriate owners are only allowed to update Jenkinsfile but this additional check is needed. Is there any pre-validation hook available which can help achieve this requirement.
Thanks for all your help.
HB