Forge Home

teamcity_manager

A puppet module to configure TeamCity Manager on Windows Systems.

9,793 downloads

9,309 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.2 (latest)
  • 1.0.1
  • 1.0.0
released Mar 15th 2015
This version is compatible with:
  • Windows

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'tombuildsstuff-teamcity_manager', '1.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add tombuildsstuff-teamcity_manager
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install tombuildsstuff-teamcity_manager --version 1.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

tombuildsstuff/teamcity_manager — version 1.0.2 Mar 15th 2015

Puppet-TeamCity Manager

A puppet module to configure TeamCity Manager on Windows Systems. Project Build Status

Installation

Add this to your Puppetfile:

mod 'tombuildsstuff/teamcity_manager'

Usage

Configure TeamCity Manager on a system:

class { '::teamcity_manager':
  teamcityServer   => 'teamcity.mydomain.com',
  teamcityUsesSsl  => false,
  teamcityUsername => 'puppetadmin',
  teamcityPassword => 'p@ssw0rd',
}

Add a Project:

teamcity_manager::configuration::project { 'MyApplication-Project':
  config => {
    name => 'My Application'
  }
}

Add a VCS Root:

teamcity_manager::configuration::vcs_root { 'MyApplication-VCSRoot':
  config => {
    name => 'My Application VCS Root',
    type => 'Git',
    settings => {
      authentication     => 'PrivateKeyFile',
      branch             => 'master',
      privateKeyFilePath => 'C:\\SSHKeys\\id_rsa.priv',
      privateKeyPassword => 'p@ssw0rd',
      repositoryUrl      => 'git@github.com:mycompany/myproject.git',
    }
  }
}

Add a Build Configuration (triggered on VCS pushes):

teamcity_manager::configuration::build_configuration { "MyApplication-BuildConfig":
  ensure => 'present',
  config => {
    name     => 'Build and Run Unit Tests',
    project  => 'My Application',
    steps    => [
      {
        name => 'Run Grunt Build',
        type => 'CustomScript',
        settings => {
          customScript => "grunt build"
        }
      }
    ],
    triggers => [
      {
        type => 'vcs',
        settings => { }
      },
    ],
    vcsRoots => [ 'My Application VCS Root' ]
  }
}

Add a user:

teamcity_manager::configuration::user { 'user':
  config => {
    username => 'user',
    password => 'p@ssw0rd',
    email    => 'me@mydomain.com',
    fullName => 'User Name'
  }
}

TODO

Testing

This module's been tested on Windows Server 2008 R2 - it should work on just about any version of windows as well, but I haven't tested it..

Contributing

Send a pull request, ideally with tests :)