jenkins-builder

command module
v0.0.0-...-e8aea6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2015 License: GPL-2.0 Imports: 6 Imported by: 0

README

jenkins-builder

Build projects in jenkins from your command line

Usage of ./jenkins-builder:
  -jenkins="": Your jenkins url
  -job="": Your job name
  -maxwait=2m0s: Maximum time to wait for a build
  -regex="": Regex for job name
  -tail=false: Tail output to console

Example:

./jenkins-builder -jenkins="$JENKINS_URL" -job="$PROJECT_NAME"

Support custom build parameters as arguments:

./jenkins-builder -jenkins="$JENKINS_URL" -job="$PROJECT_NAME" BUILDPARAM=ABC

Also include option to tail output directly to your terminal (will exit after 5min):

./jenkins-builder -jenkins="$JENKINS_URL" -job="$PROJECT_NAME" -tail -maxwait=5m

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL