While the ** pattern is good for global docs projects like the
OpenDaylight docs project. If projects have their own standalone
documentation such as lftools we need to be able to set project-pattern
to the exact project. This ensures that Gerrit won't start a lftools
build when a trigger happens on any other project in the Gerrit system.
Change-Id: I46c7d0d45eb7ea82230437648ff23e81baab07f1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# :build-node: The node to run build on.
# :build-timeout: Timeout in seconds before aborting build. (default: 15)
# :git-url: base URL of git project. (default: https://github.com)
# :build-node: The node to run build on.
# :build-timeout: Timeout in seconds before aborting build. (default: 15)
# :git-url: base URL of git project. (default: https://github.com)
+ # :project-pattern: Project to trigger build against. (default: **)
# :stream: Keyword that can be used to represent a release code-name.
# Often the same as the branch. (default: master)
# :stream: Keyword that can be used to represent a release code-name.
# Often the same as the branch. (default: master)
build-days-to-keep: 7
build-timeout: 15
git-url: https://github.com
build-days-to-keep: 7
build-timeout: 15
git-url: https://github.com
stream: master
submodule-recursive: true
stream: master
submodule-recursive: true
comment-contains-value: 'remerge$'
projects:
- project-compare-type: 'ANT'
comment-contains-value: 'remerge$'
projects:
- project-compare-type: 'ANT'
+ project-pattern: '{project-pattern}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
# :doc-dir: Directory where tox will place built docs.
# as defined in the tox.ini (default: docs/_build/html)
# :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
# :doc-dir: Directory where tox will place built docs.
# as defined in the tox.ini (default: docs/_build/html)
# :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
+ # :project-pattern: Project to trigger build against. (default: **)
# :stream: Keyword that can be used to represent a release code-name.
# Often the same as the branch. (default: master)
# :submodule-recursive: Whether to checkout submodules recursively.
# :stream: Keyword that can be used to represent a release code-name.
# Often the same as the branch. (default: master)
# :submodule-recursive: Whether to checkout submodules recursively.
build-timeout: 15
doc-dir: docs/_build/html
git-url: '$GIT_URL/$PROJECT'
build-timeout: 15
doc-dir: docs/_build/html
git-url: '$GIT_URL/$PROJECT'
stream: master
submodule-recursive: true
stream: master
submodule-recursive: true
comment-contains-value: 'recheck$'
projects:
- project-compare-type: 'ANT'
comment-contains-value: 'recheck$'
projects:
- project-compare-type: 'ANT'
+ project-pattern: '{project-pattern}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'