I have setup a Jenkins instance with OWASP ZAP and the corresponding plugin as per this blog post: https://medium.com/@priyank.it/owasp-zap-automated-pen-test-with-jenkins-e4f15