stream:
- boron:
branch: 'master'
+ - beryllium:
+ branch: 'stable/beryllium'
project: 'docs'
rtdproject: 'opendaylight'
daysToKeep: 14
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '30'
triggers:
- gerrit:
+ server-name: 'OpenDaylight'
trigger-on:
- change-merged-event
- comment-added-contains-event:
publishers:
- email-notification:
email-prefix: '[docs]'
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
name: 'docs-verify-rtd-{stream}'
daysToKeep: 14
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm-with-submodules:
- credentials-id: '{ssh-credentials}'
branch: '{branch}'
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: 'true'
file-paths:
- compare-type: ANT
pattern: docs/**
+ - timed: 'H H * * *'
builders:
- shell: |
- cd docs/submodules/$GERRIT_PROJECT
- git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
+ if [ "$GERRIT_PROJECT" != "docs" ]; then
+ cd docs/submodules/$GERRIT_PROJECT
+ git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
+ else
+ git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
+ fi
- shell: |
virtualenv $WORKSPACE/venv
source $WORKSPACE/venv/bin/activate
publishers:
- email-notification:
email-prefix: '[docs]'
+ - archive-build:
+ maven-version: '{mvn33}'