teamcity

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

TeamCity API bindings

This is a simple wrapper around the TeamCity API.

GoDoc

Sample usage:

package main

import "github.com/ChrisMcKee/teamcity-go-sdk/teamcity"

func main() {
	client := teamcity.New("myinstance.example.com", "username", "password")

	b, err := client.QueueBuild("Project_build_task", "master", nil)
	if err != nil {
		fmt.Printf("You're outta luck: %s\n", err)
		return
	}

	fmt.Printf("Build: %#v\n", b)
}

Teamcity Rest API Docs

Starting the Docker Container for Testing

  1. Change into the test10 or test9 depending on which version you are testing
docker-compose up teamcity10

Upgrading Teamcity

Test Data

When Upgrading from one version of Teamcity to Another the Test Data needs to be upgraded as well.

  1. Change into the test10 or test9 depending on which version you are upgrading
  2. Update the docker-compose.yml and Dockerfile's to the new version of teamcity
  3. run docker-compose pull
  4. run docker-compose rm
  5. cd ..
  6. run docker-compose up teamcity10
  7. run docker ps find container ID
docker exec -it ${CONTAINER_ID} bash
cp -r /data/teamcity_server/datadir/config /test-data
cp -r /data/teamcity_server/datadir/system /test-data

Debugging Rest Calls on Teamcity

docker exec -it ${CONTAINER_ID} bash
tail -f /opt/teamcity/logs/teamcity-rest.log

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL