public void setIssueTrackerInfo ( BuildInfoBuilder builder ) { Issues issues = new Issues ( ) ; issues . setAggregateBuildIssues ( aggregateBuildIssues ) ; issues . setAggregationBuildStatus ( aggregationBuildStatus ) ; issues . setTracker ( new IssueTracker ( "JIRA" , issueTrackerVersion ) ) ; Set < Issue > affectedIssuesSet = IssuesTrackerUtils . getAffectedIssuesSet ( affectedIssues ) ; if ( ! affectedIssuesSet . isEmpty ( ) ) { issues . setAffectedIssues ( affectedIssuesSet ) ; } builder . issues ( issues ) ; }
Apply issues tracker info to a build info builder ( used by generic tasks and maven2 which doesn t use the extractor