summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2018-05-16 10:40:38 -0400
committerAric Gardner <agardner@linuxfoundation.org>2018-05-16 10:50:46 -0400
commitdb7f38351e5a8f5a98ae50874e403b3bc232da2b (patch)
tree8b93a324aa464b8cc59d0e1cd2785ff42c401e1f
parentbffc84719fb9846add3794e33f3e375b0f3c664b (diff)
Clone Releng with submodules to include jjb
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>
-rw-r--r--jjb/global/releng-macros.yml11
-rw-r--r--jjb/releng/releng-ci-jobs.yml27
2 files changed, 13 insertions, 25 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index 5b403ab2c..1ff4799ab 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -121,6 +121,17 @@
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:
diff --git a/jjb/releng/releng-ci-jobs.yml b/jjb/releng/releng-ci-jobs.yml
index 6fb6804bc..5420406cd 100644
--- a/jjb/releng/releng-ci-jobs.yml
+++ b/jjb/releng/releng-ci-jobs.yml
@@ -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:
@@ -57,28 +56,6 @@
- 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'
# builder-merge job to run JJB update
@@ -97,7 +74,7 @@
option: 'project'
scm:
- - git-scm
+ - git-scm-with-submodules
triggers:
- gerrit: