Documentation
¶
Index ¶
Constants ¶
View Source
const ( // STABLE represents a stable release type STABLE string = "stable" // WEEKLY represents a weekly release type WEEKLY string = "weekly" // WRONG represents a bad release name WRONG string = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func GetVersions ¶
GetVersions fetch every jenkins version from the maven repository
func ReleaseType ¶
ReleaseType return the release type of a version
Types ¶
type Jenkins ¶
type Jenkins struct {
Release string // Defines the release name like latest or weekly
Version string // Defines a specific release version
Github github.Github // Github Parameter used to retrieve a Jenkins changelog
}
Jenkins defines parameters needed to retrieve latest Jenkins version based on a specific release
func (*Jenkins) Changelog ¶
Changelog returns a changelog description based on a Jenkins version retrieved from a GitHub Release
func (*Jenkins) Condition ¶
Condition checks that a Jenkins version exists and that the version match a valid release type
func (*Jenkins) ConditionFromSCM ¶
ConditionFromSCM checks if a key exists in a yaml file
Click to show internal directories.
Click to hide internal directories.