continuous integration for DOTNET using Jenkins and GIT

601 views
Skip to first unread message

lpk...@gmail.com

unread,
May 27, 2015, 1:24:21 PM5/27/15
to jenkins...@googlegroups.com
Hi,
 I am using GIT and jenkin for continuous integration.

my jenkins and GIT installed in linux,& want to build dot net application in jenkins  .
 could you please let me know the steps automated Continuous integration for  dotnet application.(include regression testing,code review,code coverage) with all the metrics

 thanks,
Lakshmi.

Mark Waite

unread,
May 27, 2015, 1:37:06 PM5/27/15
to jenkins...@googlegroups.com
I think you've asked for too much detail for a mailing list posting.

You might start with http://justinramel.com/2013/01/15/5-minute-setup/ and review the material there, or you might start with the Jenkins wiki pages like https://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin

I've run SharePoint development projects and other Microsoft.Net projects on Jenkins with git source control by hosting one or more slave machines running Windows with development environments (Visual Studio 2010 in our case).  You'll probably want to investigate the MSBuild plugin, the NUnit plugin, and the other pointers that appear from a web search of topics like Microsoft.Net Jenkins or Jenkins MSBuild, or Jenkins Windows regression testing.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4b99cdab-d27b-4899-ab1e-39b76e3db7a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lpk...@gmail.com

unread,
May 27, 2015, 2:10:54 PM5/27/15
to jenkins...@googlegroups.com
Hi
when am trying to build  dot net application  am getting  bellow error

error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found.

 in jenkins Under the Build section click the “Add build step” button and select “Build a Visual Studio project or solution using MSBuild”


configured msbuild path in configured system
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe.

(i dont have visual studios in my machine)
please let me know without installing visual studio can't i build in  dotnet application in jenkins
(iam new in dot net and jenkin CI but  tried continuous integration with dotnet using  documentation which you provided)
could you please help to sort it out this  ?

Thanks,


Thank,
lakshmi.

Slide

unread,
May 27, 2015, 2:13:38 PM5/27/15
to jenkins...@googlegroups.com
It looks like the project you are building is using specific stuff from the Visual Studio msbuild stuff. You may need to rework your project files for them to build correctly without Visual Studio installed.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.

Mark Waite

unread,
May 27, 2015, 2:20:32 PM5/27/15
to jenkins...@googlegroups.com
Or, just admit that installing Visual Studio on your build machine is simpler and easier than reworking your build environment to not depend on it.  If you modify the build to not depend on Visual Studio, you may break the developers, or require that they work with less than the full features of Visual Studio.  I assume one of the reasons the team is using Microsoft.Net and Visual Studio is for the benefits gained by using those tools.

I think you'll be much better adapting your continuous integration system to match the developers than adapting your development to match your continuous integration system.

Mark Waite

lpk...@gmail.com

unread,
Jun 18, 2015, 12:54:22 PM6/18/15
to jenkins...@googlegroups.com
hi,
we need to do automated regression testing for .net application in jenkins.
my question is if we want to do regression test for .NET applicatio,do we need to request developer write test cases to  run automated test in jenkins?
could you please let me know steps ....how can we do ?


On Wednesday, May 27, 2015 at 10:54:21 PM UTC+5:30, lpk...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages