Versions in this module Expand all Collapse all v1 v1.0.2 Aug 9, 2016 v1.0.1 Aug 6, 2016 Changes in this version + var Log *log.Logger = log.New(os.Stderr, "", log.Ldate | log.Ltime | log.Lshortfile) + type Branch struct + Name string + XMLName xml.Name + type Branches struct + Branch []Branch + XMLName xml.Name + type Client struct + func (client Client) CreateJob(jobName, jobConfigXML string) error + func (client Client) DeleteJob(jobName string) error + func (client Client) GetJobConfig(jobName string) (JobConfig, error) + func (client Client) GetJobSummaries() ([]JobSummary, error) + func (client Client) GetJobSummariesFromFilesystem(root string) ([]JobSummary, error) + func (client Client) GetJobs() (map[string]JobDescriptor, error) + func (client Client) GetLastBuild(jobName string) (LastBuild, error) + type FreeStyleJobConfig struct + JobName string + SCM Scm + XMLName xml.Name + type Jenkins interface + CreateJob func(jobName, jobConfigXML string) error + DeleteJob func(jobName string) error + GetJobConfig func(jobName string) (JobConfig, error) + GetJobSummaries func() ([]JobSummary, error) + GetJobSummariesFromFilesystem func(root string) ([]JobSummary, error) + GetJobs func() (map[string]JobDescriptor, error) + GetLastBuild func(jobName string) (LastBuild, error) + func NewClient(baseURL *url.URL, username, password string) Jenkins + type JobConfig struct + JobName string + Publishers Publishers + RootModule RootModule + SCM Scm + XMLName xml.Name + type JobDescriptor struct + Color string + Name string + URL string + type JobSummary struct + Branch string + GitURL string + JobDescriptor JobDescriptor + JobType JobType + type JobType int + const Freestyle + const Maven + const Unknown + type Jobs struct + Jobs []JobDescriptor + type LastBuild struct + Result string + TimestampMillis int64 + URL string + type Publishers struct + RedeployPublishers []RedeployPublisher + XMLName xml.Name + type RedeployPublisher struct + URL string + XMLName xml.Name + type RootModule struct + ArtifactID string + GroupID string + XMLName xml.Name + type Scm struct + Branches Branches + Class string + UserRemoteConfigs UserRemoteConfigs + XMLName xml.Name + type UserRemoteConfig struct + URL string + XMLName xml.Name + type UserRemoteConfigs struct + UserRemoteConfig []UserRemoteConfig + XMLName xml.Name