Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Map committer to QuickBuild user case insensitively #3723

robinshen ADMIN ·

To do it, use below user mapping script in advanced setting of repository definition:

import org.hibernate.criterion.Restrictions;
import com.pmease.quickbuild.SearchCriteria;
import com.pmease.quickbuild.entitymanager.UserManager;

def criteria = SearchCriteria.of(Restrictions.ilike("name", committer));
def users =, 0, 1);
if (!users.isEmpty())
  return users[0].name;
  return null;
  • replies 0
  • views 259
  • stars 0