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) GetLastCompletedBuild ¶
func (j *JenkinsClient) GetLastCompletedBuild(name string) (*Job, error)
GetLastCompletedBuild does just that
Click to show internal directories.
Click to hide internal directories.