resetfailure

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "reset-failure",
	Short:   "Add an empty Failure entry to the junit report",
	Long:    `Add an empty Failure entry to the junit report`,
	Example: `junit-report reset-failure --path /logs/artifacts/junit_report.xml`,
	Args:    cobra.ExactArgs(0),
	RunE: func(cmd *cobra.Command, _ []string) error {
		cmd.SilenceUsage = true
		return ResetFailure(reportFile)
	},
}

Cmd is the Cobra object representing the junit-report reset-failure command

Functions

func ResetFailure

func ResetFailure(path string) error

ResetFailure adds a Failure entry to the report.

Types

This section is empty.

Jump to

Keyboard shortcuts

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