Add GIT_BASE so git clone works correctly for doctor jobs
[releng.git] / jjb / doctor / doctor.yml
index e92330f..54070aa 100644 (file)
     parameters:
         - project-parameter:
             project: '{project}'
+        - string:
+            name: GIT_BASE
+            default: 'https://gerrit.opnfv.org/gerrit/{project}'
+            description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
 
     scm:
         - git-scm:
             project: '{project}'
         - gerrit-parameter:
             branch: 'master'
+        - string:
+            name: GIT_BASE
+            default: 'https://gerrit.opnfv.org/gerrit/{project}'
+            description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
     scm:
         - gerrit-trigger-scm:
             credentials-id: '{ssh-credentials}'
             project: '{project}'
         - gerrit-parameter:
             branch: 'master'
+        - string:
+            name: GIT_BASE
+            default: 'https://gerrit.opnfv.org/gerrit/{project}'
+            description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
 
     scm:
         - gerrit-trigger-scm: