jenkins

package
v1.2.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultJenkinsCredentialsPrefix = "jenkins-x-"

	DefaultJenkinsfile = "Jenkinsfile"

	Chartmuseum = "chartmuseum"

	// BranchPatternMasterPRsAndFeatures only match master, PRs and features
	BranchPatternMasterPRsAndFeatures = "master|PR-.*|feature.*"

	// BranchPatternMatchEverything matches everything
	BranchPatternMatchEverything = ".*"
)

Variables

This section is empty.

Functions

func BranchPattern added in v1.2.4

func BranchPattern(gitKind string) string

func CreateFolderXml

func CreateFolderXml(folderUrl string, name string) string

func CreateMultiBranchProjectXml

func CreateMultiBranchProjectXml(info *gits.GitRepositoryInfo, gitProvider gits.GitProvider, credentials string, branches string, jenkinsfile string) string

func EditUserAuth added in v1.0.2

func EditUserAuth(url string, configService *jenkauth.AuthConfigService, config *jenkauth.AuthConfig, auth *jenkauth.UserAuth, tokenUrl string, batchMode bool) (jenkauth.UserAuth, error)

func GetJenkinsClient

func GetJenkinsClient(url string, batch bool, configService *jenkauth.AuthConfigService) (*gojenkins.Jenkins, error)

func JenkinsTokenURL added in v1.0.41

func JenkinsTokenURL(url string) string

func PrintGetTokenFromURL added in v1.0.41

func PrintGetTokenFromURL(out io.Writer, tokenUrl string) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL