/chef-teamcity

A teamcity chef cookbook.

Primary LanguageRubyOtherNOASSERTION

chef-teamcity-cookbook

Gives you the ability to create TeamCity server/agent

Supported Platforms

  • CentOS 6.5
  • Redhat 6.5
  • Windows (agent only)

Depends

  • java
  • git
  • mercurial
  • subversion

Attributes

Key Type Description Default
['teamcity']['version'] String The version of TeamCity. 8.1.5
['teamcity']['username'] String The username that TeamCity will be running under. teamcity
['teamcity']['password'] String The password that TeamCity will be running under.
['teamcity']['group'] String The group that TeamCity will be running under. teamcity
['teamcity']['service_name'] String The service name of TeamCity. teamcity
['teamcity']['server']['backup'] String The URI of the TeamCity backup.
['teamcity']['server']['database']['username'] String The database user name.
['teamcity']['server']['database']['password'] String The database password.
['teamcity']['server']['database']['connection_url'] String The JDBC connection URL.
['teamcity']['server']['database']['jar'] String The URI of the database JAR file.
['teamcity']['agent']['name'] String The agent name.
['teamcity']['agent']['server_uri'] String The URI of the TeamCity server.
['teamcity']['agent']['own_address'] String The IP address of the TeamCity agent. nil (will be set automatically)
['teamcity']['agent']['port'] String The The port to use for the teamcity agent. 9090
['teamcity']['agent']['authorization_token'] String The authorization token for the agent to be authorized on the teamcity server. nil
['teamcity']['agent']['system_properties'] String Build Script Properties.
['teamcity']['agent']['env_properties'] String Environment Variables.
['teamcity']['agent']['work_dir'] String The work directory of the teamcity agent. windows: C:/teamcity/work || linux: ../work
['teamcity']['agent']['temp_dir'] String The temp directory of the teamcity agent. windows: C:/teamcity/temp || linux: ../temp
['teamcity']['agent']['system_dir'] String The main directory of the teamcity agent. windows: C:/teamcity || linux: ../system

Usage

chef-teamcity::server

Include chef-teamcity in your node's run_list:

{
  "run_list": [
    "recipe[chef-teamcity::server]"
  ]
}

chef-teamcity::agent

Include chef-teamcity in your node's run_list:

{
  "run_list": [
    "recipe[chef-teamcity::agent]"
  ]
}

License and Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.