executor

package
v6.0.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: BSD-3-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ExitLaunch is the exit code when a step fails to launch
	ExitLaunch = 255
	// ExitUnknown is the exit code when a step doesn't return an exit code (for some weird reason)
	ExitUnknown = 254
	// ExitOk is the exit code when a step runs successfully
	ExitOk = 0
	// How long should wait for the env file
	WaitTimeout = 5
)

Variables

This section is empty.

Functions

func Run

func Run(path string, env []string, emitter screwdriver.Emitter, build screwdriver.Build, api screwdriver.API, buildID int, shellBin string, timeoutSec int, envFilepath, sourceDir string) error

Run executes a slice of CommandDefs

Types

type ErrStatus added in v1.0.30

type ErrStatus struct {
	Status int
}

ErrStatus is an error that holds an exit status code

func (ErrStatus) Error added in v1.0.30

func (e ErrStatus) Error() string

Jump to

Keyboard shortcuts

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