diff options
-rw-r--r-- | jjb/releng/releng-jobs.yaml | 51 |
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' |