artifacts

package
v0.57.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindBehaviourResults

func FindBehaviourResults(artifactRoot string) ([]byte, error)

FindBehaviourResults locates behaviour-results.json in downloaded artifacts.

func FindOutputFile

func FindOutputFile(artifactRoot, fileName string) ([]byte, error)

FindOutputFile searches artifact downloads for a sandbox output file by name.

func FindOutputFiles added in v0.55.0

func FindOutputFiles(artifactRoot, fileName string) ([][]byte, error)

FindOutputFiles returns every sandbox output file with the given name from downloaded artifacts. Multiple matrix jobs for one agent can publish the same output filename in separate artifact directories.

func FindOutputFilesByArtifact added in v0.55.0

func FindOutputFilesByArtifact(artifactRoot, fileName string) ([][][]byte, error)

FindOutputFilesByArtifact returns the sandbox output files with the given name grouped by the physical artifact they came from, so callers can pick one eligible result per artifact. Each artifact is the first path component under artifactRoot; files sitting directly in artifactRoot form their own group. Within a group the files are ordered newest first: higher iteration-N directories come before lower ones, ties broken by path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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