Build Jenkins plug-in and msbuild

Source: Internet
Author: User

Jenkins built-in buildtools

Jenkins has built-in support for ant | Maven | Windows batch | shell (Perl, Python.

 

2. Other buildtools

Cmakebuilder Plugin: supports the construction of cmake; copy artifact Plugin: Copies dependent components; job exporter Plugin: exports the current running parameters to the property file for future calls; msbuild Plugin: build with msbuild. net project; Nant Plugin: used to support Nant; Python Plugin: used to support Python; qmakebuilder Plugin: used to support qmake; rake Plugin: used to support rake construction; scons Plugin: used to support scons construction; xcode Plugin: used to support Mac and iPhone construction;

 

3. Use msbuild to build csharphelloworld

1) console project of CSHARPCodeAs follows:

Using System;

NamespaceCsharphelloworld
{
ClassProgram
{
Static VoidMain (String[] ARGs)
{
System. Console. writeline ("Hello world!");
}
}
}

 

2) create a Jenkins job csharphelloworld and set it as follows: Make sure that the msbuild path on the slave machine is in the system path environment variable, for example, C: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319.

 

 

3) The build result is as follows:

 

 

Complete!

 

 

 

 

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.