Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_SERVER string = "alfred-jenkins.sv2:8080"
Variables ¶
View Source
var JENKINS_SERVER string = DEFAULT_SERVER
Functions ¶
func GetArtifactReader ¶
Types ¶
type JenkinsBuildInfo ¶
type JenkinsBuildInfo struct { Name string ID int Artifacts map[string]string Building bool Duration float64 EstimatedDuration float64 Result string Timestamp float64 Url string }
func GetBuildInfo ¶
func GetBuildInfo(name string, id int) (*JenkinsBuildInfo, error)
func (*JenkinsBuildInfo) Print ¶
func (self *JenkinsBuildInfo) Print()
type JenkinsInfo ¶
type JenkinsInfo struct { Name string Description string Url string Buildable bool InQueue bool LastBuild int LastBuildUrl string LastStableBuild int LastStableBuildUrl string }
func GetInfo ¶
func GetInfo(name string) (*JenkinsInfo, error)
func (*JenkinsInfo) Print ¶
func (self *JenkinsInfo) Print()
Click to show internal directories.
Click to hide internal directories.