Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jasei/teamcity-job-executor

Simple command line utility which runs job in teamcity and waits (without --nowait flag) for job to finish
https://github.com/jasei/teamcity-job-executor

golang teamcity

Last synced: 1 day ago
JSON representation

Simple command line utility which runs job in teamcity and waits (without --nowait flag) for job to finish

Awesome Lists containing this project

README

        

teamcity job executor
=======================

[![Release](https://img.shields.io/github/release/avast/teamcity-job-executor.svg?style=flat-square)](https://github.com/avast/teamcity-job-executor/releases/latest)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Linux build status](https://img.shields.io/travis/avast/teamcity-job-executor.svg?style=flat-square)](https://travis-ci.org/avast/teamcity-job-executor)

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:
--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:
[] id of build configuration which you can run
```

## Changes:
`0.5.1`
* fix reading teamcity job status