Change project to clone by jjb-deploy 73/11473/2 v0.21.1
authorLuis Gomez <ecelgp@gmail.com>
Wed, 20 Jun 2018 21:11:04 +0000 (14:11 -0700)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 20 Jun 2018 21:36:43 +0000 (17:36 -0400)
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 <ecelgp@gmail.com>
jjb/lf-ci-jobs.yaml

index a7fd30a..788dc46 100644 (file)
     ######################
 
     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: