trigger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

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) Run

func (o *TriggerOptions) Run() error

Run implements the 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

Jump to

Keyboard shortcuts

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