摘自:http://justinramel.com/2013/01/15/5-minute-setup/
Install
1.Download the latest version of Jenkins from: http://mirrors.jenkins-ci.org/windows/latest
2.Extract the setup files from the zip file.
3.Run the Setup.exe.
4.Accept all the defaults in the setup wizard.
5.Jenkins will now be installed and the main Jenkins page will be open.
Add required .NET Plugins
1.Download and install your required .NET framework from: http://www.microsoft.com/net/download
2.Open the Manage Plugins page, from the Jenkins menu select Jenkins » Manage Jenkins » Manage Plugins.
3.Click the “Available” tab.
4.Tick the “MSBuild” plugin.
Add optional .NET Plugins
1.Tick the plugin for the source control management software your using.
2.If you want to run unit tests as part of your build Tick your chosen testing plugin, this guide will use NUnit.
3.Tick the “Active Directory Plugin” if you want to use Active Directory for Authentication.
Setup Jenkins
1.Open the main setup page, from the Jenkins menu select Jenkins » Manage Jenkins » Configure System.
2.Under the MSBuild section, click the “Add MSBuild” button.
3.Set the name and path to MSBuild for example: Name: v3.5 Path to MSBuild: C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
4.Click the “Save” button.
Setting up your first job
1.From the Jenkins menu click Jenkins » New Job.
2.Set Job name for example: Demo.
3.Select the “Build a free-style software project” radio button.
4.Then click the “OK” button.
5.Jenkins will now create the Job workspace on disk and redirect you to the job configuration page.
Source Control
This guide will use Subversion but there are many available.
1.Under the Source Control Management section select the “Subversion” radio button.
2.Set the Repository URL for example: https://jenkins-net-demo.googlecode.com/svn/trunk
Build Triggers
1.Under the Build Triggers section, tick the Poll SCM checkbox.
2.Enter “5 * * * *” in the Schedule text area, this translates to check for changes every 5 minutes.
Build the Solution
1.Under the Build section click the “Add build step” button and select “Build a Visual Studio project or solution using MSBuild”.
2.Set “MsBuild Version” to V3.5 (The version we setup previously)
3.Set “MsBuild Build File” to the name of the demo solution: Jenkins-net-demo.sln
4.Click the “Save” button and you’ll be redirected to the Demo project page
5.Click the “Build Now” link.
You’re done!
分享到:
相关推荐
jenkins配置.net 6.0项目
主要给大家介绍了关于ASP.NET Core+Docker+Jenkins实现持续集成的相关资料,文中通过示例代码介绍的非常详细,对大家学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
windowsserver2008R2环境SVN(源代码管理器:jenkins通过插件从源代码管理器下载代码)Jenkins(主角)地址:http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/windows-stable/jenkins-2.19.1.zip;JDK1.7以上....
主要介绍了jenkins部署.net平台自动化构建的方法步骤,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
Centos+Docker+ Jenkins+ ASP.NET Core 2.0自动化发布与部署的实现
主要介绍了基于Jenkins搭建.NET Core持续集成环境过程图解,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
主要介绍了基于Jenkins搭建.NET FrameWork持续集成环境,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
Centos7+Docker+Jenkins+ASP.NET Core 2.0自动化发布与部署的实现
Jenkins持续集成 & .NET cmd创建日期时间文件夹.rar
Jenkins.NET Jenkins HTTP / REST API的C#.NET包装器。 支持.NET Framework 4.0; 4.5和.NET Standard 2.0,以及异步编程模型。 包可在。 现在,该项目被认为是稳定的,没有积极地进行开发。 但是,如果您发现错误...
故这里采用了比较成熟的Jenkins 作为持续部署环境。 为了方便安装,我们这里使用了 Docker 来进行安装,至于 Docker 安装的步骤这里不在赘述,详情可以参考这一篇博文。 上面安装的是一个较老的版本,这里推荐参考...
jenkins for Mac 安装jenkin的包,安装简单明了,一看即懂。
Jenkins Plug-in 现在有风险不能被搜索,所以分享出来,技术无罪,分享不贵
亲测可用,jenkins的Dynamic Parameter Plug-in 插件,现在因为有漏洞安装不了了,只能手动安装。资源包中有Parameter Plug-in插件和其依赖的插件