From 5589ae7abbd5d4a8f9f58c0aeaef06984048b975 Mon Sep 17 00:00:00 2001 From: Luis Gomez Date: Wed, 20 Jun 2018 14:11:04 -0700 Subject: [PATCH] Change project to clone by jjb-deploy When "jjb-deploy" is invoked from a gerrit patch, we do not want to clone the patch project code ($GERRIT_PROJECT) but the releng/builder code ($PROJECT). Change-Id: I329b3c756826250358b20aeb2454cb5650d87f59 Signed-off-by: Luis Gomez --- jjb/lf-ci-jobs.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index a7fd30a6..788dc46c 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -412,7 +412,9 @@ ###################### branch: master - git-url: '$GIT_URL/$GERRIT_PROJECT' + # jjb-deploy should always clone $PROJECT regardless of what + # $GERRIT_PROJECT triggered the job. + git-url: '$GIT_URL/$PROJECT' stream: master gerrit_jjb_deploy_job_triggers: - comment-added-contains-event: -- 2.16.6