summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-12-08 13:20:22 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2022-12-08 14:04:54 +0100
commit17e0e520342dc7828e12d9792af1f5089ea3e458 (patch)
tree0da7c6c00fb763b56a11ab6be8d7a02311365ab0
parent0675e0984aa8327aa163acb74989ef3142251f1c (diff)
Rewrite releng verify and merge jobs
Change-Id: I451f6694784599eea454f9f13c907c05c7a4807f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--jjb/releng/releng-jobs.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/jjb/releng/releng-jobs.yaml b/jjb/releng/releng-jobs.yaml
index 4a39333d4..e13a44d14 100644
--- a/jjb/releng/releng-jobs.yaml
+++ b/jjb/releng/releng-jobs.yaml
@@ -1,4 +1,55 @@
---
+- trigger:
+ name: releng-patchset-created
+ triggers:
+ - gerrit:
+ trigger-on:
+ - patchset-created-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'releng'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: 'master'
+
+- builder:
+ name: jjb-verify
+ builders:
+ - shell: |
+ sudo apt-get -o DPkg::Lock::Timeout=300 update && \
+ sudo DEBIAN_FRONTEND=noninteractive apt-get \
+ -o DPkg::Lock::Timeout=300 dist-upgrade -y
+ sudo DEBIAN_FRONTEND=noninteractive \
+ apt-get -o DPkg::Lock::Timeout=300 install jenkins-job-builder -y
+ jenkins-jobs test --recursive -o /dev/null jjb/
+
+- parameter:
+ name: jjb-slave
+ parameters:
+ - label:
+ name: slave
+ default: '{slave}'
+
+- job-template:
+ name: jjb-verify
+ triggers:
+ - releng-patchset-created
+ parameters:
+ - jjb-slave:
+ slave: lf-build6
+ builders:
+ - jjb-verify
+
+- project:
+ name: 'jjb-verify'
+ jobs:
+ - 'jjb-verify'
+
+
- project:
name: releng-builder-jobs
project: 'releng'