From f3d8d908f8619e56869968469f860341538e2828 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 3 May 2018 16:45:00 -0400 Subject: [PATCH] Fix jenkins-cfg GitHub cfg to build head of branch There this job was originally misconfigured and was configured as if it was a verify job. It should be operating instead as a merge job and not be pulling in the $sha1 setting. This fixes the job to only build HEAD of branch as one would expect. Issue: RELENG-844 Change-Id: I8fa6b25a2fd4b598f619ab4c6ae80ce411756cb4 Signed-off-by: Thanh Ha --- jjb/lf-ci-jobs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index d2a8f5ea..988f8931 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -367,8 +367,8 @@ scm: - lf-infra-github-scm: url: '{git-clone-url}{github-org}/{project}' - refspec: '+refs/pull/*:refs/remotes/origin/pr/*' - branch: '$sha1' + refspec: '' + branch: 'refs/heads/{branch}' submodule-recursive: true choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}' -- 2.16.6