e2e

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCmd

func ExecuteCmd(args ...string)

ExecuteCmd execute a jcli command

func GetLocalIP added in v0.0.35

func GetLocalIP() string

GetLocalIP returns the local ip address

func InstallPlugin

func InstallPlugin(name, jenkins string, wait bool)

InstallPlugin install a plugin by jcli

func RestartAndWait

func RestartAndWait(jenkins string, outputReader io.ReadCloser)

RestartAndWait restart Jenkins then wait it

func RunAndWait added in v0.0.35

func RunAndWait(cmd *exec.Cmd, callback func(reader io.ReadCloser))

RunAndWait run command and wait the callback function

func WaitAgentRunningUp added in v0.0.35

func WaitAgentRunningUp(outputReader io.ReadCloser)

WaitAgentRunningUp wait until Jenkins agent running up

func WaitJenkinsRunningUp added in v0.0.35

func WaitJenkinsRunningUp(outputReader io.ReadCloser)

WaitJenkinsRunningUp wait until Jenkins running up

func WaitUntilExpect added in v0.0.35

func WaitUntilExpect(outputReader io.ReadCloser, expect string)

WaitUntilExpect wait until find the expect string

Types

This section is empty.

Jump to

Keyboard shortcuts

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