Jenkins doesn't fetch the correct Gerrit branch
问题 I want jenkins to test the code for review. The jenkins job is started on a push to refs/for/master but it tries to build the origin/master branch and not the refs/changes/XX/X/X branch. Has somebody an idea what i did wrong? Log from jenkins: Triggered by Gerrit: http://localhost/13 Building on master in workspace /var/lib/jenkins/jobs/CI-JoysteerLogApi/workspace Checkout:workspace / /var/lib/jenkins/jobs/CI-JoysteerLogApi/workspace - hudson.remoting.LocalChannel@28071488 Using strategy: