Skip to content

Jenkins and Microsoft .NET Build Server Integration Script

License

Notifications You must be signed in to change notification settings

pctimhk/MSBuildServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MSBuildServer for .NET 4.0.0 - 4.5.2

Extra script or customize program to create a Microsoft .NET 4.0.0 - 4.5.2 Build Server with Unit Test feature in Windows Jenkins Build Server.

Prerequisite

Features

7zip

  • Extract the zip file

JenkinsExtension/7z.bat

  • Unzip the file to folder (UNC path support)

JenkinsExtension/unziptopath.ps1

Apache Ant

  • Start the apache ant based on the Jenkins build file and build properties

JenkinsExtension/ant.bat

Microsoft SQL Server

  • Drop the database

JenkinsExtension/DropDb.bat

NUnit3 - All program or script for NUnit3

  • Powershell script to execute Nunit3 console program for all the *.nunit Nunit configuration project file. The test result will generate out and the result file name same as the Nunit configuration project filename.

JenkinsExtension/VSTest.bat for Visual Studio 2013 installed JenkinsExtension/VS2017Test.bat for Visual Studio 2017 installed

OpenCover

  • Execute nunit test with open cover and html report generation

IIS Web Deploy and Control

  • Rename the application name

JenkinsExtension/WebDeploy/UpdateIISWebAppName.ps1

  • Change the web deploy parameter

JenkinsExtension/WebDeploy/ReplaceWebDeployParameter.ps1

  • Remote start the IIS app pool

JenkinsExtension/remoteStartAppPool.ps1

  • Remote start the IIS app pool

JenkinsExtension/remoteStopAppPool.ps1

Microsoft Windows Remote Control

  • Start the Microsoft Windows Service

JenkinsExtension/remoteStartWinService.ps1

  • Stop the Microsoft Windows Service

JenkinsExtension/remoteStopWinService.ps1

  • Wait the process end in windows task

JenkinsExtension/remoteWaitProcess.ps1

Microsoft XDT for Visual Studio 2013 and non web.config and app.config file

JenkinsExtension/xdt

Powershell execute remote command

JenkinsExtension/remotecommand.ps1

StyleCop

  • Start the Style Cop to check the source code

JenkinsExtension/StyleCopCLI.bat