simple command line utility which runs job in teamcity and waits (without --nowait flag) for job to finish
success status of build = exit code 0
other status = exit code 1
non-interactive run example:
teamcity-job-executor -H teamcity.server -u my_username -p my_password backends_Modules_App_Test
help:
usage: teamcity-job-executor --hostname=HOSTNAME --username=USERNAME [<flags>] [<configId>]
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-H, --hostname=HOSTNAME teamcity hostname
-u, --username=USERNAME teamcity username
-p, --password=PASSWORD teamcity password
-b, --branch=BRANCH Branch for VSC root in teamcity job
-j, --job_param=JOB_PARAM ... teamcity job parameters in key=value format
--sleep=5s sleep duration of pooling teamcity
--nowait Does not wait for queued job to finish
--version Show application version.
Args:
[<configId>] id of build configuration which you can run
0.5.1
- fix reading teamcity job status