title: How to run a Jenkins job inside a windows docker container
body: <p>I am trying to run a jenkins job inside a windows docker container. I have successfully created an image with windows server code docker image which will have MSBuildEngine 4.7.</p>
  
  <p>The problem I am facing is I am not able to run a Jenkins job inside that container.</p>
  
  <p>I am able to do it easily with linux environment. </p>
  
  <p>The actual problem is, Jenkins first puts a shell file which will have the command to run the container and inspect it.</p>
  
  <p>How do I tell Jenkins that my environment is not Linux and it is Windows.</p>
  
  <p>Note: Searching in google does not help now a days. So I directly reached out here</p>