Key: |
QB-2850
|
Type: |
Improvement
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Minor
|
Assignee: |
Unassigned
|
Reporter: |
John Landers
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 23/Nov/16 06:15 PM
Updated: 13/Jan/17 02:02 PM
|
|
Component/s: |
None
|
Affects Version/s: |
6.1.26
|
Fix Version/s: |
7.0.0
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
getUser on DefaultBuildEngine try calling UserManager.getByFullName if UserManager.get(userName); is null
Adding call to getByFullName would reduce our user mappings. Bitbucket using full name and Quickbuild uses user name.
private User getUser(Repository repository, String committer)
{
User user = userManager.get(userName);
// add these lines
if(user == null)
{
user = userManager.getByFullName(userName);
}
// done with added lines.
if(user == null)
{
user = new User();
user.setName(userName);
.....
Or adding a global user mapping configuration.
|
Description
|
getUser on DefaultBuildEngine try calling UserManager.getByFullName if UserManager.get(userName); is null
Adding call to getByFullName would reduce our user mappings. Bitbucket using full name and Quickbuild uses user name.
private User getUser(Repository repository, String committer)
{
User user = userManager.get(userName);
// add these lines
if(user == null)
{
user = userManager.getByFullName(userName);
}
// done with added lines.
if(user == null)
{
user = new User();
user.setName(userName);
.....
Or adding a global user mapping configuration.
|
Show » |
|