0

I am setting up Jenkins for our project, but when I set up the "Build a Visual Studio project or solution using MSBuild", there is no option for the MSbuild Version (Only shows Default) screen shot attached. Anyone knows how to point the MSBuild Version? I need some help.

Thanks!

enter image description here

Terry Zhang
  • 4,541
  • 8
  • 23
  • 29
  • Possible duplicate of [build .net application in Jenkins using MSBuild](https://stackoverflow.com/questions/10227967/build-net-application-in-jenkins-using-msbuild) – Liam Dec 06 '17 at 14:22

1 Answers1

0

"To use this plugin, specify the location directory of MSBuild.exe on Jenkin's configuration page" source: https://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin

You should be able to get to it from... localhost:8080/configure

Or... From the Jenkins home page click on "Manage Jenkins" and then click on "Configure System"

After you add the location of Msbuild you should see it available in your project configuration when you utilize the Msbuild plugin.

I hope this helps!

Venkata.Mutyala
  • 685
  • 6
  • 11
  • Thanks! Actually I am using Jenkins 2.x. The global configurations need to be set in Manage Jenkins -> Global Tool Configuration. And in Jenkins 2.x, if I choose default, it will automatically running msbuild.exe (which need to be set in system variable) :) – Terry Zhang Dec 14 '16 at 15:02