Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TriggerOptions ¶
type TriggerOptions struct { jenkinsutil.JenkinsOptions MultiBranchProject bool Dir string Jenkinsfile string JenkinsPath string JenkinsSelector jenkinsutil.JenkinsSelectorOptions }
TriggerOptions contains the command line arguments for this command
func NewCmdTrigger ¶
func NewCmdTrigger() (*cobra.Command, *TriggerOptions)
NewCmdTrigger creates the new command
func (*TriggerOptions) TriggerPipeline ¶
func (o *TriggerOptions) TriggerPipeline(jenkinsClient gojenkins.JenkinsClient, gitInfo *gits.GitRepository, branch string) error
TriggerPipeline triggers the pipeline after the main service clients are created
Click to show internal directories.
Click to hide internal directories.