title: How to use the Jenkins MSBuild plug-in in a Jenkinsfile?
body: <p>I have Jenkins v2.60.3 with the <a href="http://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin" rel="noreferrer">MSBuild Plugin</a> v1.27 installed on Windows.</p>
  
  <p>I have configured the path to my <code>msbuild.exe</code> in Jenkins' Global Tool Configuration. I have also setup a Multi Branch Pipeline in Jenkins that picks up a <code>Jenkinsfile</code> from git repo successfully.</p>
  
  <p>My question is: How do I invoke the MSBuild Plugin as a step in my <code>Jenkinsfile</code>? </p>
  
  <p>Please note I know I can invoke <code>msbuild.exe</code> directly as a Windows batch step but I prefer to go through the MSBuild Plugin if possible.
  `</p>