buildtools

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2016 License: GPL-2.0, GPL-2.0-or-later Imports: 10 Imported by: 1

README

ladybug.conf is for development testing, not for production.

Documentation

Index

Constants

View Source
const (
	BuildFail = iota
	BuildSuccess
)

The build status

Variables

This section is empty.

Functions

This section is empty.

Types

type Jenkins

type Jenkins struct {
}

Jenkins just empty

func (Jenkins) AddJenkinsBuilds

func (j Jenkins) AddJenkinsBuilds(url string, projectID int, db *gorm.DB) error

AddJenkinsBuilds get Jenkins builds information and save them to DB

func (Jenkins) ConnectionTest

func (j Jenkins) ConnectionTest(url string) (string, error)

ConnectionTest tests the given project URL and fetch informations for the jekins project, compose messages and return

type Travis

type Travis struct {
}

Travis for interfaces

func (Travis) AddTravisBuilds

func (t Travis) AddTravisBuilds(url string, projectID int, db *gorm.DB) error

AddTravisBuilds is main routine of adding travis build items.

func (Travis) ConnectionTest

func (t Travis) ConnectionTest(url string) (*travisRepo, string, error)

ConnectionTest verifies the given repo's URL

Jump to

Keyboard shortcuts

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