import "github.com/muesli/beehive/bees/jenkinsbee"
Package jenkinsbee is a Bee that can interface with a Jenkins server.
jenkinsbee.go jenkinsbeefactory.go
type JenkinsBee struct { bees.Bee Jobs map[string]Job `json:"jobs"` // contains filtered or unexported fields }
JenkinsBee is a Bee that can interface with a Jenkins server.
func (mod *JenkinsBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (mod *JenkinsBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
func (mod *JenkinsBee) Run(cin chan bees.Event)
Run executes the Bee's event loop.
type JenkinsBeeFactory struct { bees.BeeFactory }
JenkinsBeeFactory is a factory for JenkinsBees.
func (factory *JenkinsBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (factory *JenkinsBeeFactory) Description() string
Description returns the description of this Bee.
func (factory *JenkinsBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (factory *JenkinsBeeFactory) ID() string
ID returns the ID of this Bee.
func (factory *JenkinsBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (factory *JenkinsBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (factory *JenkinsBeeFactory) Name() string
Name returns the name of this Bee.
func (factory *JenkinsBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (factory *JenkinsBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.
type Job struct { Name string `json:"name"` URL string `json:"url"` Color string `json:"color"` LastBuild LastBuild `json:"lastBuild"` }
Job represents the JSON API response for a Jenkins job.
Package jenkinsbee imports 5 packages (graph) and is imported by 14 packages. Updated 2017-03-04. Refresh now. Tools for package owners.