service

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	JobType            string              `yaml:"job_type"`
	OnSetup            string              `yaml:"setup,omitempty"`
	JenkinsIntegration *JenkinsIntegration `yaml:"jenkins_integration"`
	JenkinsBuild       *JenkinsBuild
}

Config ...

type JenkinsBuild

type JenkinsBuild struct {
	JobName           string               `json:"job_name"`
	JenkinsBuildParam []*JenkinsBuildParam `json:"jenkins_build_param"`
}

type JenkinsBuildParam

type JenkinsBuildParam struct {
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type JenkinsIntegration

type JenkinsIntegration struct {
	URL      string `yaml:"url"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
}

type JenkinsPlugin

type JenkinsPlugin struct {
	// contains filtered or unexported fields
}

JenkinsPlugin ...

func NewJenkinsPlugin

func NewJenkinsPlugin() (*JenkinsPlugin, error)

func (*JenkinsPlugin) Exec

func (p *JenkinsPlugin) Exec(ctx context.Context) error

Exec ...

Jump to

Keyboard shortcuts

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