Overview
Continuous integration helps teams work better together. By creating a system where members of a development team can integrate their code for building and testing on a continuous basis, conflicts are caught quickly or even prevented before they occur.
TeamCity provides teams with this capability and more. It’s a multiplatform, multi-language CI server that integrates into your developer’s workflow and provides them with real-time information about builds, tests, and deployments.
In this TeamCity Training course, you will learn how to:
Create a TeamCity project with a repository URL
Commit breaking code to version control system
Add a project to overview page
Build number counter, number formats, and variables
Deeply examine various test results
Build different configuration types: regular, deployment and composite
Deploy Maven and NuGet packages and Docker images
Configure and maintain TeamCity
- Upcoming Dates and Locations
-
Guaranteed To Run
- Course Outline
-
Part 1: Introduction
- What is TeamCity?
- What is continuous integration?
- TeamCity capabilities
- Build and deploy automation
- Version control system integration
- Static analysis and code coverage
- Reporting
- Supported platforms and environments
- Licensing and cost
Part 2: Creating a project
- Logging in to TeamCity
- Create a TeamCity project with a repository URL
- TeamCity analyzes build file
- Select desired build step
- Add project to overview page
- Run build
- View test results
- View build log
- View build configuration options
- Build number counter
- Build number format and variables
- Build triggers— a brief overview of what they are
- Artifact paths
- Pre-test a change
- IDE integration
- Remote run a change
- Show “personal build” on TC
- Commit breaking code to version control system
- Observe build being triggered and failing
- Create investigation and assign to self
- Fix build
Part 3: Projects and builds
- Projects
- Settings
- The project hierarchy
- Build configuration types
- Regular
- Deployment
- Composite
- Build configuration settings
- Version Control System configuration
- GitHub, Bitbucket, Team Foundation support
- Feature branches
- Multiple repositories
- Build steps—overview of bundled runners
- .NET Cli
- Gradle
- Ant
- Command line
- Maven
- MsBuild
- Others
- Advanced configuration—run in a container
- Build Triggers
- What is a build trigger?
- Repository changes
- Schedules
- Dependency changes (Maven, NuGet, etc.)
- Retry or build finish triggers
- Failure conditions
- Maximum build duration
- Error message in build log
- Metric changes
- Artifact size
- Class count
- Number of failed tests
- Code coverage minimums
- Build dependencies
- Snapshot dependencies
- Artifact dependencies
- Build Features
- Docker support
- NuGet credentials
- Free disk space
- Build Parameters
- Environment variables
- System properties
- Configuration parameters
- Logs
- Change logs
- Build logs
- Version Control System configuration
Part 4: Manually Add Project
- Create new project
- Add name
- Add repository URL
- Configure build (Gradle—see notes)
- Select build type
- Add build step for clean
- Add step for build
- Build file name
- Gradle home
- Review advanced options
- Debug options
- Logging options
- JDK version options
- Run build
- View results
Part 5: Tests
- Framework support
- Java/.NET/Ruby
- Plugins
- Adding support for custom tests
- Test results
- Deeper examination of changes and ties to VCS
- Deeper examination of build logs
- “Flaky” tests
- Investigations
- Exercise: more complex tests
- Add a more complex project with tests
- Make tests fail
- View logs and changes
- Start investigation
- Clear build problem
Part 6: Code inspection configuration
- Bundled code inspection tools
- IntelliJ Java code inspections
- Resharper .NET Code Analysis
- Viewing reports
- Exercise:
- Add analysis build step with IntelliJ inspector
- Run build
- View report
Part 7: Deployment builds
- Deploy Maven packages
- Deploy NuGet packages
- Deploy Docker images
- Exercise: deploy Docker image
- Verify agent is available with Docker support
- Add project with a Dockerfile
- Add/view Docker build step
- Run build
- Pull docker image from Docker hub and run
Part 8: Customization
- VCS accounts
- Notifications
- Rules
- Mechanisms
- IDE integrations
- IntelliJ
- Visual Studio
- Eclipse
Part 9: TeamCity administration
- User profile customization
- Installation and configuration (See notes)
- Install on Windows
- Install on Linux/Mac
- Install on Docker
- Install in cloud
- Creating users
- Configuration
- Notifications
- Plugins
- Database support
- Administration
- Authentication
- Who should attend
-
This TeamCity training course is designed for the following professionals:
- Software Developers
- Project Managers
- Quality Assurance Professionals
- Software Testers
- Product Owners
- Business Intelligence Professionals
- Infrastructure Engineers
- Development Team Members
- Operations Team Members
- Anyone who is a hands-on user of the TeamCity Platform