watch

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Job

func Job(r jenkins.Requester, jobRunURL string, interval time.Duration) (string, error)

Job checks a jenkins job every interval until it completes and returns the final status

func JobWithFunc

func JobWithFunc(r jenkins.Requester, jobRunURL string, interval time.Duration, f func() error) (string, error)

JobWithFunc checks a jenkins job every interval and runs f every interval until the job completes. returns status and err

func JobWithInput

func JobWithInput(r jenkins.Requester, jobRunURL string, interval time.Duration, params job.Parameters) (string, error)

JobWithInput checks a jenkins job every interval until it completes and passes input to a job if it is requesting input Note: If your jenkins pipeline requests input multiple times throughout a given run or you need to perform more extra logic for determining what input to pass to the job use a custom function and JobWithFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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