trigger

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options 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, *Options)

NewCmdTrigger creates the new command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) TriggerPipeline

func (o *Options) 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