build VC++

51 views
Skip to first unread message

sudheer k

unread,
May 8, 2019, 9:18:40 AM5/8/19
to Jenkins Users
Hi Team,

I want to build the VC++ applications by using jenkins, can you tell me weather it is possible to build those applications using jenkins.
because i haven't find any plugins or resources to build the VC++ application.

Rich Stephens

unread,
May 8, 2019, 9:45:21 AM5/8/19
to Jenkins Users
Sudheer,

It's pretty straightforward.  On the "Plugin Manager" page, look for "MSBuild Plugin".  That one can call MSBuild (part of Visual Studio) to build .proj and .sln files.

If you click on the name of the plugin, it takes you to the plugin home page, which has some more information about configuring the plugin to point to your installation of MSBuild.

This is all, of course, assuming you are running Jenkins on Windows and have whatever version of Visual Studio you normally use to build the project installed on the same machine that you have Jenkins on.

Rich

sudheer k

unread,
May 8, 2019, 1:37:07 PM5/8/19
to Jenkins Users
Rich,

I know how to build the C# applications because they have mentioned very clear in the jenkins documentation, but here I want to build the VC++ (Visual C++) i.e .vcxproj file

Slide

unread,
May 8, 2019, 1:37:49 PM5/8/19
to Jenkins User Mailing List
How would you build it from the command line? Figure that out and then that's how you build it in Jenkins as well.

--
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/d6d111cb-4591-4cca-93b8-3bfd6bc5c30f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Rich Stephens

unread,
May 8, 2019, 3:48:04 PM5/8/19
to Jenkins Users


It's exactly the same.  You use the MSBuild plugin.  I am using it to build a C/C++ project (I actually build from the solution file, not the vcxproj file, but it works either way).

You just specify the project file (.sln or .vcxproj) in the build configuration, and add any command line argument to ensure you're getting the right project configuration, like the below image.  Let me know if you have any specific questions I can answer.:


msbuild.PNG





sudheer k

unread,
May 10, 2019, 2:17:49 PM5/10/19
to jenkins...@googlegroups.com
Hi Rich,

Thanks, it's worked. please let me know your availability so that we can have a discussion about  the dot net build and deployment automation.



--
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.

Rich Stephens

unread,
May 13, 2019, 12:53:45 PM5/13/19
to Jenkins Users
Sudheer,

I'll try (and others on this forum) to answer any Jenkins-related questions you may have if you post them here.

Rich
Reply all
Reply to author
Forward
0 new messages