Documentation ¶
Index ¶
- Constants
- func CreateFolderXml(folderUrl string, name string) string
- func CreateMultiBranchProjectXml(info *gits.GitRepositoryInfo, credentials string) string
- func EditUserAuth(url string, configService *jenkauth.AuthConfigService, ...) (jenkauth.UserAuth, error)
- func GetJenkinsClient(url string, batch bool, configService *jenkauth.AuthConfigService) (*gojenkins.Jenkins, error)
- func ImportProject(out io.Writer, jenk *gojenkins.Jenkins, gitURL string, credentials string, ...) error
Constants ¶
View Source
const (
DefaultJenkinsCredentialsPrefix = "jenkins-x-"
)
Variables ¶
This section is empty.
Functions ¶
func CreateFolderXml ¶
func CreateMultiBranchProjectXml ¶
func CreateMultiBranchProjectXml(info *gits.GitRepositoryInfo, credentials string) string
func EditUserAuth ¶ added in v1.0.2
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, gitProvider gits.GitProvider, authConfigSvc auth.AuthConfigService) error
ImportProject imports a MultiBranchProject into Jeknins for the given git URL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.