wercker_build_trigger

command module
v0.0.0-...-4e0946e Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: MIT Imports: 10 Imported by: 0

README

wercker_build_trigger

Trigger Wercker build

Go project version wercker status Coverage Status

Getting

Download latest binary from here

https://github.com/sue445/wercker_build_trigger/releases

Usage

# Print version
$ wercker_build_trigger -version

# Trigger a build
$ wercker_build_trigger -token=xxxxx -config=/path/to/config.yml

Options

$ wercker_build_trigger
  -config string
    	Path to config file
  -token string
    	API token
  -version
    	Whether showing version

Config file format

Example

pipelines:
  - application_path: "wercker/docs"
    pipeline_name: "build"
    branch: "master"
  - application_path: "sue445/wercker_build_trigger"
  • application_path : application path (required)
  • pipeline_name : pipeline name
    • default is build
  • branch : Branch you want to build
    • default is master

ProTip

Weekly build

e.g.) Run a build every Sunday at 3:00

crontab

0 3 * * 0 /path/to/wercker_build_trigger --config /path/to/wercker_build_trigger.yml --token xxxxxxx

Changelog

https://github.com/sue445/wercker_build_trigger/releases

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