Skip to content

Instantly share code, notes, and snippets.

@devops-school
Last active January 24, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devops-school/6a475c151618019cd0331dc41e78dec7 to your computer and use it in GitHub Desktop.
Save devops-school/6a475c151618019cd0331dc41e78dec7 to your computer and use it in GitHub Desktop.
Teamcity

Teamcity Demo Projects

Project 1 - Csharp + Nant

https://github.com/devops-school/teamcity-nant-helloworld

Project 2 - java + maven

https://github.com/devops-school/teamcity-java-maven-helloworld

Project 3 - java + maven + gradle

https://github.com/devops-school/teamcity-java-maven-gradle-spring-petclinic

Project 4 - dotnet

https://github.com/devops-school/teamcity-dotnet-service

Project 5 - batch

https://github.com/devops-school/teamcity-batch-helloworld

Project 6 - Java + Maven + Junit + War

https://github.com/devops-school/teamcity-spring-maven-petclinic

Project 7 - ASPNET + MsBuild + NUnit + Nuget

https://github.com/devops-school/teamcity-aspnet-msbuild-identity-mongo Build Steps

Nuget Installer			- src/AspNet.Identity.MongoDB.sln

Visual Studio(Sln) MsBuild 	- Buildfile Path -> src/AspNet.Identity.MongoDB.sln
				  Targets -> Rebuild
				  Configuration -> Release
Nunit 			   	- Runtime -> Nunit
				  Run Tests on: build\tests\Tests.dll
				  Collect -> .NET Code Coverage data with JetBrainsdotCover
NuGet Pack			- Pack -> src/AspNet.Identity.MongoDB/AspNet.Identity.MongoDB.csproj

Project 8 - Node + NPM + Js

https://github.com/devops-school/teamcity-node-js-cards

npm test  -- --single-run --browsers PhantomJS --colors false

#Code Base
npm i --save-dev karma-teamcity-reporter
#Build Steps
npm test  -- --single-run --browsers PhantomJS --colors false --reporter teamcity


# Templating
npm test  -- --single-run --browsers %Browers% --colors false --reporter teamcity

Some Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment