万本电子书0元读

万本电子书0元读

顶部广告

Learning Continuous Integration with TeamCity电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Manoj Mahalingam S

出  版  社:Packt Publishing

出版时间:2014-08-26

字       数:268.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a developer, tester, or a person in operations or Devops who wants to start practising CI, start using TeamCity or both, then this book is for you. Moreover, if you have thought about bringing CI into your team, if you are already using a CI tool and want to move to TeamCity, or if you are looking for ideal practises and techniques while implementing CI with TeamCity, this book will be useful.
目录展开

Learning Continuous Integration with TeamCity

Table of Contents

Learning Continuous Integration with TeamCity

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Introduction

Introduction to Continuous Integration

Practices

Benefits

Continuous deployment and Continuous Delivery

The build pipeline

Introduction to TeamCity

Licensing

Features

First-class support for various technologies

Lots of plugins

REST API

Comprehensive VCS support

A nice dashboard UI and build history

Ease of setup and comprehensive documentation

Build pipeline/chains

Agents and build grids

IDE integrations

TeamCity and its competitors

Jenkins

ThoughtWorks' Go

Summary

2. Installation

Installing on Windows

Installing the server and the default agent

Installing additional agents

Installation on Mac OS X

Running the TeamCity server and the default agent

Setting up the TeamCity server as a daemon

Installing additional agents

Installation on Linux

Running the server and the default agent

Running the TeamCity server as a daemon

Installing additional agents

Summary

3. Getting Your CI Up and Running

Introducing version control systems

Centralized versus distributed VCSs

VCSs and CI

VCS used in this book

Setting up CI

The sample project

Creating a project in TeamCity

Subprojects

Adding build configurations

VCS roots and VCS settings

Introducing the build steps

Running our first build

Build failure conditions

Triggering the build on VCS changes

Build chains

Deploying to Heroku

Adding functional tests

Parameters and build parameters

Setting up the build chain

Snapshot dependencies

The Finish build trigger

The Build chain view

Fine-tuning our setup

Adding coverage and unit test reports

Publishing reports as artifacts

XML report processing

Report tabs

Build and project statistics

Shared resources

Agent Requirements

Summary

4. TeamCity for Java Projects

Using Ant with TeamCity

Installing Ant

Building with Ant build files

Building with Ant in a build configuration

Adding some unit tests

Setting up code coverage

Build scripts versus TeamCity features

System properties and Ant

Using Maven with TeamCity

Installing Maven

Creating a Maven project

Introducing the Project Object Model (POM)

Building the project

Using Maven in a build configuration

Setting version number

Setting up code coverage for our build

Maven on TeamCity, beyond the build runner

Creating a Maven build configuration

Global Maven settings file

Setting up Maven-based triggers

Using Gradle with TeamCity

Installing Gradle

Building with Gradle on TeamCity

Introducing database migration tools

Summary

5. TeamCity for .NET Projects

Getting started with NAnt on TeamCity

Installing NAnt

Building NAnt with NAnt

Building on TeamCity

Adding NUnit report processing

Configuring agent requirements

Building with MSBuild

Installing MSBuild

Starting an MSBuild project

Building with MSBuild on TeamCity

Adding an NUnit build runner

Running NUnit tests using NUnit task

Running NUnit tests using the task provided by TeamCity

Configuring code coverage with MSBuild

NuGet and TeamCity

Installing the NuGet command-line client

Installing NuGet.exe on TeamCity agents

TeamCity as a NuGet server

NuGet-based build runners

NuGet dependency trigger

Introducing PowerShell

PowerShell-based build tools

PowerShell build runner in TeamCity

Database migrations with .NET

Summary

6. TeamCity for Ruby Projects

Getting started with Rails

Managing Ruby versions

Introducing Bundler

Installing Rails using Bundler

Introducing Rake

Setting up the build on TeamCity

Setting up Ruby interpreter

Running Capybara- and Selenium-based feature tests

Summary

7. TeamCity for Mobile and Other Technologies

CI for Android projects

Generating the APK

Running Calabash tests

Building iOS projects on TeamCity

Installing TeamCity plugins

Installing the Python runner plugin

Building with the Python build runner

Introduction to TeamCity.Node plugin

Summary

8. Integration with Other Tools

IDE integrations

IntelliJ platform IDEs integration

Installing the plugin

Configuring notifications

Managing projects from the IDE

Opening files and patches in IDE

Remote Run

Visual Studio integrations

GitHub integrations

GitHub webhooks and services

Using the TeamCity.GitHub plugin

Support for pull requests

Integrating with GitHub issue tracker

Build monitors

Team Piazza

Project Monitor

Build lights

Notifications

Summary

9. TeamCity for a Member of the Team

Managing projects of interest

Hiding projects

Hiding build configurations

Navigating across projects

Investigating investigations

Assigning investigations

Viewing active investigations

Managing current and muted problems

TeamCity universal search

Actions on build configurations

Pausing triggers in a build configuration

Checking for pending changes

Enforcing clean checkout

Summary

10. Taking It a Level Up

Build configuration templates

Creating templates from scratch

Creating build configurations from the template

Creating templates from existing build configurations

Going meta with Meta-Runners

Using Meta-Runners

Build result actions

Commenting on build results

Tagging build results

Pinning build results

Promoting builds

Marking the build as successful or failed

Removing builds

Build history cleanup

Cleanup rules

Archiving projects

Configuring build priorities

Interacting with TeamCity from build scripts

Service messages

Creating teamcity-info.xml

Summary

11. Beyond CI – Continuous Delivery

What is Continuous Delivery?

Why Continuous Delivery?

The deployment pipeline

Implementing the deployment pipeline in TeamCity

Publishing and consuming artifacts

Build chain for CI

Deploying to environments

Environments as gates

Identifying the build that is deployed in an environment

Deploying any version to an environment

Limiting deployment permissions to certain users

Passing sensitive information during deployment

Feature branching and feature toggling

Summary

12. Making It Production Ready

Using TeamCity with an external database

Configuring PostgreSQL as an external database

Migrating from one database to another

Backup and restore

Taking backups from the server UI

Backing up and restoring data using the maintainDB tool

A manual backup

Handling upgrades

Updating a server installed via an archive

Updating TeamCity using the Windows installer

Updating the agents

Monitoring resource usage, performance, and logs

Disk space usage

TeamCity server diagnostics

Tweaking the TeamCity JVM

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部