- 'builder-weekly'
- 'builder-check-poms'
- # Maven Sites
- - 'builder-site-publish'
- - 'builder-site-verify'
-
project: 'releng/builder'
- job-template:
logrotate:
daysToKeep: 7
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit:
+ server-name: 'OpenDaylight'
trigger-on:
- patchset-created-event:
exclude-drafts: 'false'
pattern: jjb-templates/**
builders:
+ - opendaylight-infra-pre-builders
- shell: |
pip freeze
- python scripts/jjb-autoupdate-project.py
- jenkins-jobs test --recursive -o job_output jjb/
+ jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
+ gzip archives/job_output/*
- releng-check-unicode
publishers:
- - archive-artifacts:
- artifacts: 'job_output/*'
- email-notification:
email-prefix: '[releng]'
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'
- job-template:
name: builder-verify-python
- node: dynamic_verify
+ node: centos7-java-builder-2c-8g
project-type: freestyle
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit:
+ server-name: 'OpenDaylight'
trigger-on:
- patchset-created-event:
exclude-drafts: 'false'
builders:
+ - opendaylight-infra-pre-builders
- shell: |
virtualenv $WORKSPACE/venv
source $WORKSPACE/venv/bin/activate
publishers:
- email-notification:
email-prefix: '[releng]'
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'
- job-template:
name: 'builder-merge'
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
refspec: ''
choosing-strategy: 'default'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit:
+ server-name: 'OpenDaylight'
trigger-on:
- change-merged-event
- comment-added-contains-event:
pattern: jjb-templates/**
builders:
- - shell:
- !include-raw-escape:
- - include-raw-jjb-update.sh
+ - opendaylight-infra-pre-builders
+ - shell: |
+ pip freeze
+ jenkins-jobs --version
+ jenkins-jobs update --recursive --delete-old --workers 4 jjb/
publishers:
- email-notification:
email-prefix: '[releng]'
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'
- job-template:
name: 'builder-weekly'
artifactNumToKeep: -1
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: 'master'
+ refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
- credentials-id: '{ssh-credentials}'
branch: 'master'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- timed: 'H H * * 0'
builders:
+ - opendaylight-infra-pre-builders
- shell: |
jenkins-jobs --flush-cache update --recursive jjb/
publishers:
- email-notification:
email-prefix: '[releng]'
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'
- job-template:
name: builder-check-poms
- node: dynamic_verify
+ node: centos7-java-builder-2c-8g
project-type: freestyle
artifactDaysToKeep: -1
artifactNumToKeep: -1
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - timed: 'H H * * 1'
-
- builders:
- - shell:
- !include-raw-escape:
- - include-raw-check-poms.sh
-
- publishers:
- - email-notification:
- email-prefix: '[releng]'
-
-
-###
-### Maven Sites
-###
-
-- job-template:
- name: 'builder-site-publish'
- node: dynamic_merge
- concurrent: false
- jdk: 'openjdk8'
-
- # This job's purpose is to publish maven site
-
- project-type: maven
-
- logrotate:
- daysToKeep: 7
- numToKeep: 3
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
- project: '{project}'
- branch: 'master'
- refspec: 'refs/heads/master'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - gerrit:
- server-name: 'OpenDaylight'
- trigger-on:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: 'republish'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'releng/builder'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/master'
- file-paths:
- - compare-type: ANT
- pattern: src/**
- - compare-type: ANT
- pattern: pom.xml
-
- maven:
- maven-name: '{mvn33}'
- root-pom: 'pom.xml'
- goals: 'site:site site:deploy -Dstream=master'
- maven-opts: '-Xmx1024m'
- settings: '{releng-builder-settings}'
- global-settings: '{odl-global-settings}'
-
- publishers:
- - email-notification:
- email-prefix: '[releng]'
-
-- job-template:
- name: 'builder-site-verify'
- node: dynamic_verify
- concurrent: true
- jdk: 'openjdk8'
-
- # This job's purpose is to verify maven site configuration
-
- project-type: maven
-
- logrotate:
- daysToKeep: 7
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ artifacts: '{archive-artifacts}'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- - gerrit:
- trigger-on:
- - patchset-created-event:
- exclude-drafts: 'false'
- exclude-trivial-rebase: 'false'
- exclude-no-code-change: 'false'
- - draft-published-event
- - comment-added-contains-event:
- comment-contains-value: 'recheck'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'releng/builder'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/master'
- file-paths:
- - compare-type: ANT
- pattern: src/**
- - compare-type: ANT
- pattern: pom.xml
+ - timed: 'H H * * 1'
- maven:
- maven-name: '{mvn33}'
- root-pom: 'pom.xml'
- goals: 'site:site -Dstream=master'
- maven-opts: '-Xmx1024m'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
+ builders:
+ - opendaylight-infra-pre-builders
+ - shell:
+ !include-raw-escape:
+ - include-raw-check-poms.sh
publishers:
- email-notification:
email-prefix: '[releng]'
+ - opendaylight-infra-shiplogs:
+ maven-version: '{mvn33}'