Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 563 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 563 Bytes

TeamCity API bindings

This is a simple wrapper around the TeamCity API.

GoDoc

Sample usage:

package main

import "github.com/umweltdk/teamcity/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)
}