JaSei / teamcity-job-executor

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

teamcity job executor

Release Software License Linux build status

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

Changes:

0.5.1

  • fix reading teamcity job status

About

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


Languages

Language:Go 51.0%Language:Makefile 49.0%