Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffectedIssue ¶ added in v0.3.1
type BuildInfo ¶
type BuildInfo struct { Name string `json:"name,omitempty"` Number string `json:"number,omitempty"` Agent *Agent `json:"agent,omitempty"` BuildAgent *Agent `json:"buildAgent,omitempty"` Modules []Module `json:"modules,omitempty"` Started string `json:"started,omitempty"` Properties Env `json:"properties,omitempty"` ArtifactoryPrincipal string `json:"artifactoryPrincipal,omitempty"` BuildUrl string `json:"url,omitempty"` Issues *Issues `json:"issues,omitempty"` *Vcs }
func (*BuildInfo) Append ¶
Append the modules of the received build info to this build info. If the two build info instances contain modules with identical names, these modules are merged. When merging the modules, the artifacts and dependencies remain unique according to their checksum.
func (*BuildInfo) SetAgentName ¶
func (*BuildInfo) SetAgentVersion ¶
func (*BuildInfo) SetBuildAgentVersion ¶
type Configuration ¶
type Configuration struct { ArtDetails auth.ArtifactoryDetails BuildUrl string DryRun bool EnvInclude string EnvExclude string }
func (*Configuration) GetArtifactoryDetails ¶
func (config *Configuration) GetArtifactoryDetails() auth.ArtifactoryDetails
func (*Configuration) IsDryRun ¶
func (config *Configuration) IsDryRun() bool
func (*Configuration) SetArtifactoryDetails ¶
func (config *Configuration) SetArtifactoryDetails(artDetails auth.ArtifactoryDetails)
type Dependency ¶
type Issues ¶ added in v0.3.1
type Issues struct { Tracker *Tracker `json:"tracker,omitempty"` AggregateBuildIssues bool `json:"aggregateBuildIssues,omitempty"` AggregationBuildStatus string `json:"aggregationBuildStatus,omitempty"` AffectedIssues []AffectedIssue `json:"affectedIssues,omitempty"` }
type Module ¶
type Module struct { Properties interface{} `json:"properties,omitempty"` Id string `json:"id,omitempty"` Artifacts []Artifact `json:"artifacts,omitempty"` Dependencies []Dependency `json:"dependencies,omitempty"` }
Click to show internal directories.
Click to hide internal directories.