Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions artifactory/commands/buildinfo/addgit.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ func (config *BuildAddGitCommand) collectBuildIssues() ([]buildinfo.AffectedIssu
}

var foundIssues []buildinfo.AffectedIssue
if !config.issuesConfig.Aggregate {
return foundIssues, nil
}

logRegExp, err := createLogRegExpHandler(config.issuesConfig, &foundIssues)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion cliutils/flagkit/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ var flagsMap = map[string]components.Flag{
propsRecursive: components.NewBoolFlag(Recursive, "[Default: true] When false, artifacts inside sub-folders in Artifactory will not be affected.", components.WithBoolDefaultValueFalse()),
propsProps: components.NewStringFlag(props, "[Optional] List of semicolon-separated(;) properties in the form of \"key1=value1;key2=value2;...\". Only artifacts with these properties are affected.", components.SetMandatoryFalse()),
propsExcludeProps: components.NewStringFlag(excludeProps, "[Optional] List of semicolon-separated(;) properties in the form of \"key1=value1;key2=value2;...\". Only artifacts without the specified properties are affected.", components.SetMandatoryFalse()),
repoOnly: components.NewBoolFlag(repoOnly, "[Default: true] When false, artifacts inside sub-folders in Artifactory will be affected.", components.WithBoolDefaultValueFalse()),
repoOnly: components.NewBoolFlag(repoOnly, "[Default: true] When false, artifacts inside sub-folders in Artifactory will be affected.", components.WithBoolDefaultValueTrue()),

// Build Publish and Append specific commands flags
buildUrl: components.NewStringFlag(buildUrl, "[Optional] Can be used for setting the CI server build URL in the build-info.", components.SetMandatoryFalse()),
Expand Down
Loading