Python script to invoke builds on TeamCity
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE Initial commit Apr 6, 2016
README.md
requirements.txt
setup.py
tc.py

README.md

TCPY

Script for triggering personal builds on TeamCity. The program's help strings are quite complete, so just do

tc.py -h

to see what sub commands you can call. For more specfic help, just do

tc.py {subcommand} -h

To install easily, you can do this:

pip install git+https://github.com/spacecowboy/tcpy.git

Some examples

These might become outdated, but should serve as inspiration.

Running the most basic linux build with default settings

tc.py linux -u XXX -p YYY --branch=3.1

Run HA Robustness on a pull request

tc.py har -u XXX -p YYY --branch=refs/pull/1234/head

Run linux on an IBM JDK

tc.py linux -u XXX -p YYY --branch=3.1 --jdk=ibmjdk-8

Run linux on a Power8 machine (defaults to ibmjdk-8)

tc.py power8 -u XXX -p YYY --branch=3.1

Only compile, don't do tests

tc.py linux -u XXX -p YYY --branch=3.1 --maven-goals="clean compile"

Quick feedback Windows build, build only what's necessary to run a single specific test

tc.py windows -u XXX -p YYY --branch=3.0 --maven-args="-Dtest=MuninnPageCacheWithAdversarialFileDispatcherIT -pl :neo4j-io -am"

Run with defaults, but checkout the branch from your own repo (not supported on Windows)

tc.py linux -u XXX -p YYY --branch=flakytest --remote=https://github.com/spacecowboy/neo4j.git