title: Using Clover PHP and Checkstyle in Jenkinsfile
body: <p>Inside my Freestyle Jenkins job I can add the Post-build actions to generate a code coverage report using the plugin <a href="https://wiki.jenkins-ci.org/display/JENKINS/Clover+PHP+Plugin" rel="nofollow noreferrer">Clover PHP</a> and an analysis using <a href="https://wiki.jenkins-ci.org/display/JENKINS/Checkstyle+Plugin" rel="nofollow noreferrer">Checkstyle</a> plugin.</p>
  
  <p>However, I like to use the Pipeline Jenkins job, because it has the stage view. With the Pipeline job I need to set up everything inside a Jenkinsfile. How do I include the Clover PHP and Checkstyle plugin function inside a Jenkinsfile? There is no documentation on their page.</p>