title: How to setup MSBuild tool in Jenkins with Windows slave and Linux master
body: <p>Master Environment:</p>
  
  <ul>
  <li>Jenkins 2.45</li>
  <li>Ubuntu 16.04</li>
  </ul>
  
  <p>Slave Environment:</p>
  
  <ul>
  <li>Jenkins 2.32.2</li>
  <li>Windows 2008 R2</li>
  <li>VS 2013</li>
  </ul>
  
  <p>I have a master/slave setup with a linux master and a windows slave. I have a few .NET projects I would like to setup to build on the windows slave.
  The relevant part of my Pipeline descriptor looks like this: </p>
  
  <pre><code>stage('Build') {
  
      bat "\"${tool 'MSBuild'}\" My_Solution.sln /m /target:clean,build /p:Configuration=Debug;VisualStudioVersion=12.0"
  }
  </code></pre>
  
  <p>In a non-slave Jenkins server in Windows with the MSBuild plugin installed you can find an entry in</p>
  
  <blockquote>
    <p>Manage Jenkins -> Configure System</p>
  </blockquote>
  
  <p>for setting up the MSBuild tool. This options does not exist on the Linux master with the MSBuild plugin installed. Nor is there an option in</p>
  
  <blockquote>
    <p>Manage Jenkins -> Manage Nodes -> ${Node Name} -> Configure</p>
  </blockquote>
  
  <p>The only tools that can be added from the Slave node configuration are:</p>
  
  <ul>
  <li>Git</li>
  <li>Maven</li>
  <li>SonarQube</li>
  </ul>
  
  <p>How can I configure the MSBuild tool for my Windows slave?</p>