Visual Studio build in jenkins

In this article, we will see how to create a build for Visual Studio .Net project in Jenkins. You will need to install below plugins before you can create a .Net build in Jenkins.
  • MSBuild plugin for Jenkins
  • MSTest plugin for Jenkins
I have already explained how to install plugins in Jenkins in earlier posts. Once you have installed above plugins, you will have to change below settings in Jenkins System.Then you can create a new build project as explained in article on how to configure maven build in Jenkins. SCM and Build trigger steps are similar for most of the projects. Now let us see how to add MSBuild and MSTest build tasks in .Net build.Once .Net build configuration is saved, you can run the build from Jenkins Dashboard. Below image shows sample build log.
Complex problems, Simple Solutions