Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JenkinsClient ¶
type JenkinsClient struct {
Host string
}
JenkinsClient is how we talk to the Jenkins instance
func (*JenkinsClient) GetConsoleLog ¶
func (j *JenkinsClient) GetConsoleLog(name string, build int) (io.ReadCloser, error)
GetConsoleLog downloads the logs for a particular job and build number
func (*JenkinsClient) GetJob ¶
func (j *JenkinsClient) GetJob(name string) (*Queue, error)
GetJob will get information about a single job
func (*JenkinsClient) IsBuildStable ¶
func (j *JenkinsClient) IsBuildStable(name string) (bool, error)
IsBuildStable tells if the given job in the last completed build was a success.
Click to show internal directories.
Click to hide internal directories.