This setting will prompt user with a list of Gerrit open changes for selection.
# Set up Gerrit repository at QuickBuild side and configure field _change numbers_ as below:
{code}
${groovy:
import com.pmease.quickbuild.util.StringUtils;
def change = vars.getValue("change");
if (change != null)
return StringUtils.substringBefore(change, ":");
else
return "";
}
{code}
This tells QB to build against selected change in above step.
# Make sure option "Queue Changed Branches Only" in advanced configuration setting is set to _no_, as otherwise, QB will not run build even if change number is specified if a build has already been fired for a change.