IIS Continuous Integration from Source Control TFS and Git
Clone or download
Latest commit 0f4b2a9 Nov 6, 2017
Permalink
Failed to load latest commit information.
.axoCover Added warning May 9, 2017
.nuget Added NuGet Restore Jul 11, 2014
.vs/config Added support for Open Access Token Aug 2, 2017
IISCI.Build Fixed last version issue Jun 12, 2017
IISCI.Core Added support for Open Access Token Aug 2, 2017
IISCI.Git Added support for Open Access Token Aug 2, 2017
IISCI.Web wip Nov 6, 2017
TFSRestAPI
TFSRestAPIConsole Intermediate commit Jun 15, 2014
.gitattributes Update .gitattributes Mar 4, 2015
.gitignore wip May 4, 2017
IISCI.Web.sln Added support for git branch May 22, 2017
LICENSE Initial commit Jun 14, 2014
README.md Update README.md Nov 23, 2016

README.md

IIS-CI

IIS Continuous Integration/Deployment from Git, TFS & Visual Studio Online Source Control.

Features

  1. TFS/Git Integration (without TFS/Git installation on server, You still need to purchase TFS CAL from Microsoft)
  2. Downloads only modified source
  3. XDT Support for web.config at root folder
  4. Web Hook to automatically fetch-build-deploy
  5. Email notification after fetch-build-deploy (smtp delivery should be configured in web.config)

Current Status

Ready to use as basic deployment controller.

Why not use Kudu?

  1. Project Kudu has dependency on Git and Node, both are typically not part of .NET development workflow.
  2. Besides Kudu creates kudu services website for each hosted website, IIS with 100s of sites are difficult to recreate and redeploy using kudu.
  3. Kudu does not work with TFS.
  4. IIS-CI needs to be installed only once per server, and config file can manage access rights.

Building

You can use Visual Studio 2012/2013/2015 to build from source code and deploy generated files in IIS.

Installation

  1. Create a website in IIS, make sure Windows Authentication is enabled with NTLM being first provider.
  2. Enable Anonymous Authentication for Triggers to work.
  3. Set LocalSystem as Application Pool Identity.
  4. Download and Install MSBuild 2015
  5. Open the website, you will see list of IIS sites with config and build options.
  6. You can configure the source type as Git or TFS, Git should use https transport only.
  7. Enter username/passwords for remote Git or TFS
  8. Specify Solution Path as relative path of .sln file within the source code without front slash.
  9. Specify Web Project Path as relative path of .sln file within the source code without front slash.
  10. Add AppSettings you would want to overwrite after deployment.
  11. Add ConnectionStrings you would want to overwrite after deployment.
  12. Add custom XDT to transform Web.config before deploy
  13. After config is saved correctly, click on Build link.