e2e

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 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

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

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

RunAndWait run command and wait the callback function

func WaitAgentRunningUp

func WaitAgentRunningUp(outputReader io.ReadCloser)

WaitAgentRunningUp wait until Jenkins agent running up

func WaitJenkinsRunningUp

func WaitJenkinsRunningUp(outputReader io.ReadCloser)

WaitJenkinsRunningUp wait until Jenkins running up

func WaitUntilExpect

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