summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-05-16 18:36:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-16 18:36:27 +0000
commit68a3a74f28122922978c8042be6d799678fdc976 (patch)
tree5f924ef32b3752b25f13bf089d393d48722470f5 /jjb
parent7d99dc08b6913d2a0202b092c184c364872b891e (diff)
parentdb7f38351e5a8f5a98ae50874e403b3bc232da2b (diff)
Merge "Clone Releng with submodules to include jjb"
Diffstat (limited to 'jjb')
-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: