Fix wrong GERRIT_PROJECT 68/79068/2
authorSam Hague <shague@redhat.com>
Wed, 26 Dec 2018 14:47:10 +0000 (09:47 -0500)
committerSam Hague <shague@redhat.com>
Wed, 26 Dec 2018 14:52:30 +0000 (09:52 -0500)
GERRIT_PROJECT is used in the csit job to clone
the integration/test project so it can not beĀ·
overwritten with the root tst-patch job.

Depends-on: I426b516d2b81f1f2a758552f3e97c16f08e46127
Change-Id: I7d6d5e3d3ffe76807692a7b9bdd52fbca8377fe5
Signed-off-by: Sam Hague <shague@redhat.com>
csit/libraries/Coe.robot

index a80717759301630aa5091bf8ff4822c572de18fe..ac812ae1c52d22718b6b84339dceba0ac4c1d820 100644 (file)
@@ -74,7 +74,7 @@ Configuration Playbook
     SSHKeywords.Copy_File_To_Remote_System    ${K8s_MASTER_IP}    ${WATCHER_COE}    ${USER_HOME}
     OperatingSystem.Copy File    ${PLAYBOOK_FILE}    ${USER_HOME}
     ${branch_ref_spec} =    BuiltIn.Catenate    SEPARATOR=    refs/heads/    ${GERRIT_BRANCH}
     SSHKeywords.Copy_File_To_Remote_System    ${K8s_MASTER_IP}    ${WATCHER_COE}    ${USER_HOME}
     OperatingSystem.Copy File    ${PLAYBOOK_FILE}    ${USER_HOME}
     ${branch_ref_spec} =    BuiltIn.Catenate    SEPARATOR=    refs/heads/    ${GERRIT_BRANCH}
-    ${gerrit_ref_spec} =    BuiltIn.Set Variable If    '${GERRIT_PROJECT}' != 'coe'    ${branch_ref_spec}    ${GERRIT_REFSPEC}
+    ${gerrit_ref_spec} =    BuiltIn.Set Variable If    '${GERRIT_PROJECT_ROOT}' != 'coe'    ${branch_ref_spec}    ${GERRIT_REFSPEC}
     Run Coe Playbook    ${gerrit_ref_spec}
 
 Run Coe Playbook
     Run Coe Playbook    ${gerrit_ref_spec}
 
 Run Coe Playbook