From: Luis Gomez Date: Wed, 20 Jun 2018 21:11:04 +0000 (-0700) Subject: Change project to clone by jjb-deploy X-Git-Tag: v0.21.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=5589ae7abbd5d4a8f9f58c0aeaef06984048b975;p=releng%2Fglobal-jjb.git 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 --- 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: