Fix comac-in-a-box gerrit trigger
Change-Id: Ic7714a877402fe4a58e2556b6fa3d395e5f8c00c
diff --git a/jjb/comac-in-a-box.yaml b/jjb/comac-in-a-box.yaml
index 09bf652..8fa4a6f 100644
--- a/jjb/comac-in-a-box.yaml
+++ b/jjb/comac-in-a-box.yaml
@@ -52,7 +52,14 @@
name: buildNode
default: 'comac_in_a_box'
description: 'Name of the Jenkins executor node to run the job on'
-
+ - string:
+ name: GERRIT_REFSPEC
+ default: '$GERRIT_REFSPEC'
+ description: 'Gerrit ref to fetch.'
+ - string:
+ name: gitUrl
+ default: '{gerrit-server-url}/$GERRIT_PROJECT'
+ description: 'URL to the git repo'
scm:
- lf-infra-gerrit-scm:
git-url: '$GIT_URL/$GERRIT_PROJECT'