Clone Releng with submodules to include jjb 77/57477/2
authorAric Gardner <agardner@linuxfoundation.org>
Wed, 16 May 2018 14:40:38 +0000 (10:40 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Wed, 16 May 2018 14:50:46 +0000 (10:50 -0400)
Needed for JJB verify and Merge to work.
These jobs are going away, but first we need to get a verified +1
from jenkins

Also remove  releng-comment-jjb its unused

Change-Id: Ice2ad625f87f1d9c841979ede4bb1943110691c8
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
jjb/global/releng-macros.yml
jjb/releng/releng-ci-jobs.yml

index 5b403ab..1ff4799 100644 (file)
           choosing-strategy: 'gerrit'
           refspec: '$GERRIT_REFSPEC'
           <<: *git-scm-defaults
+
+- scm:
+    name: git-scm-gerrit-with-submodules
+    scm:
+      - git:
+          choosing-strategy: 'gerrit'
+          refspec: '$GERRIT_REFSPEC'
+          submodule:
+            recursive: true
+            timeout: 20
+          <<: *git-scm-defaults
 - scm:
     name: git-scm-with-submodules
     scm:
index 6fb6804..5420406 100644 (file)
@@ -4,7 +4,6 @@
     jobs:
       - 'releng-verify-jjb'
       - 'releng-merge-jjb'
-      - 'releng-comment-jjb'
 
     project: 'releng'
 
@@ -17,7 +16,7 @@
           branch: 'master'
 
     scm:
-      - git-scm-gerrit
+      - git-scm-gerrit-with-submodules
 
     triggers:
       - gerrit:
           artifacts: 'job_output/*'
       - email-jenkins-admins-on-failure
 
-- job-template:
-    name: releng-comment-jjb
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-          branch: 'master'
-
-    scm:
-      - git-scm-gerrit
-
-    triggers:
-      - experimental:
-          project: '{project}'
-          branch: 'master'
-          files: 'jjb/**'
-
-    builders:
-      - shell:
-          !include-raw-escape: generate-job-list.sh
-      - report-build-result-to-gerrit
-
 - job-template:
     name: 'releng-merge-jjb'
 
@@ -97,7 +74,7 @@
           option: 'project'
 
     scm:
-      - git-scm
+      - git-scm-with-submodules
 
     triggers:
       - gerrit: