I have a Jenkins job (multibranch pipeline
) setup for a GitHub repo. I want to trigger that job automatically whenever there is a change pushed to that Git repo. How can I achieve this using a Jenkinsfile
?
I want to avoid any config change in the Jenkins job such as Poll SCM
etc. For multibranch pipeline there is no such option as Build whenever a change is pushed to GitHub