jenkins

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultJenkinsCredentials = "jenkins-x-github"
)

Variables

This section is empty.

Functions

func CreateFolderXml

func CreateFolderXml(folderUrl string, name string) string

func CreateMultiBranchProjectXml

func CreateMultiBranchProjectXml(info *gits.GitRepositoryInfo, credentials string) string

func EditUserAuth added in v1.0.2

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

func GetJenkinsClient

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

func ImportProject added in v1.0.2

func ImportProject(out io.Writer, jenk *gojenkins.Jenkins, gitURL string, credentials string, failIfExists bool) error

ImportProject imports a MultiBranchProject into Jeknins for the given git URL

Types

This section is empty.

Jump to

Keyboard shortcuts

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