Your SlideShare is downloading. ×
Continuous integration with teamcity
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Continuous integration with teamcity

2,513
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,513
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
61
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Continuous Integration with Teamcity
  • 2. • Did you ever get broken build from TFS?
  • 3. Did you everget unexpected exceptions on the page after someone checked-in?
  • 4. Did you everget unexpected exceptions in sublayouts after someone checked-in?
  • 5. Did you?• Get errors on dev env which are not on local?• How frequent you run unit test?• What about acceptance tests?• How do you perform code review?• Do you always have dev env up to date?• …
  • 6. Continuous Integration But what is it???
  • 7. Why we need CI?• Big and long integration to small and frequent• Visualize the build process, !!!Alarm!!!• Minimize ”broken build time”• Continuous Integrated testing• Continuous Auto deployment• Continuous code inspection
  • 8. What systems do we know?• Cruise Control .NET (open source)• TFS Builds (Microsoft TFS)• Bamboo (Atlassian)• TeamCity (JetBrains)• …
  • 9. TeamCity
  • 10. Download and Install
  • 11. Open and Register Admin Account
  • 12. Create a project
  • 13. Build configuration
  • 14. VCS settings
  • 15. Build triggers
  • 16. Step1 - Build Sources
  • 17. Step2 - UnitTests run
  • 18. Deployment configuration• Create new configuration “Deployment”• Trigger “Deployment” if Trunk build succeeded• Setup Artifact dependencies to Trunk build and copy them to Dev site.
  • 19. Step1 – Acceptance tests run
  • 20. What you can do more?• Code Coverage (ncover/dotCover/…)• Find Duplicates• Code inspections (FxCop, Inspections)• HTML/css validation W3C• Run nAnt / Powershel / Command line operations
  • 21. What we have to install?• Visual Studio 2010 (MSBuild, MSTest)• TeamCity 6.5• Entity Framework 4.1• Firefox (for Acceptance tests)
  • 22. Live demo• TFS checking trigger• Running build• UnitTests results• Build logs• Code Review - changeset• Auto Deployment to dev• Acceptance Tests results
  • 23. I’m New developer• Subayouts Error• Page Error• Source Code Error• Run build• See logs, status, screenshot• Fix errors• Run build• See status
  • 24. Look a bit more• Test Performance history• Code Coverage• Code Inspection• Code Duplication• …